Repository navigation
Open
Labels
area:datadocumentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Description
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Filing gate: L1/L2 follow-ups, one card per PR (the review follow-ups of PR #N exception). Source: L2 contract-review record 6933706748 on PR #34517 (card #34373), items N2 and N3. Dedupe: review follow-ups of PR #34517, lockRows dialect.
Suggested-grade: p2 · domain:server · pm:blocked, Blocked-by #34373 (the bit lands first)
维护者速读
- 现象:Engine: a predicate delete on an object with delete-family lookups re-deletes by id, so its predicate never reaches the DELETE (a conditional delete is not atomic) #34373 给驱动加了
lockRows能力位。TSDoc 把 MySQL 和 SQL Server 上的行为写成了事实,驱动在所有方言(含 Oracle)都声明了这个位,但实测过的只有 PostgreSQL 和 SQLite。Turso 远端模式没有事务,却继承了lockRows: true。 - 为什么要修:声明了没实测的能力,AI 和调用方会照着用;Oracle 上带行数限制的加锁读很可能被数据库拒绝。经引擎走不会出错,直接调用才会碰到。
- 需要你做的:无。
Items
- N2: measure the
lockRowsread on MySQL, SQL Server and Oracle (thefindOne()case on Oracle included). Name the measured dialects in the bit's TSDoc, as theaggregationFilterprecedent does. A dialect that refuses turns the bit off for that dialect, with a pin. - N3 (lands in the Turso driver's own repository, not this one): the remote transport declares
lockRows: false, by the precedent theSqlDriver.supportsliteral sets fortransactionsUnsupportedandaggregationFilter. The seat that holds that repository carries it; this item is ticked when its PR merges.
Done when
Each dialect cell is measured or the bit is off for it, and the TSDoc names only measured dialects.
Blocked-by: #34373
Metadata
Metadata
Assignees
Labels
area:datadocumentationImprovements or additions to documentationdomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Two more items for this card, from the same L2 record 6933706748, passed on by area
o2-E:lockRowsTSDoc says that a driver which does not declare the bit ignores the key when it is called directly.UPDATEprivilege. For a federated object whose remote role holds onlyDELETE, the predicate delete is refused by the database. Measure it, and either name it in the TSDoc as a requirement or have the engine skip the lock for that role.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p3 ·pm:blocked· review follow-up · 2026-11-17T00:34Z⛔ Not a claim.
Blocked-by: #34373
These are review follow-ups N2 and N3 of PR #34517 (
lockRowsdialect notes). Nits name no user effect, and review follow-ups default to p3 under the 2026-11-16 rule. Parked on #34373.objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: unlock →
pm:queue· 2026-11-17T02:47Z⛔ Not a claim.
Its blocker #34373 closed at 01:54Z. Back to the queue at p3, unpicked while p3 is paused.