Aurora DSQL: Multi-Region Commits Without Cross-Region Locks

Strong snapshot isolation in Aurora DSQL names a precise database guarantee, not a promise that application rules survive concurrent transactions.
An on-call rotation table with two active rows makes the boundary concrete. Alex and Blair are both currently on shift, and service policy lets either engineer sign off as long as at least one person stays on call. Both click sign-off at the same moment:
| Step | Alex's transaction | Blair's transaction |
|---|---|---|
| Read | Sees Blair active | Sees Alex active |
| Check rule | One responder remains | One responder remains |
| Write | Marks Alex off call | Marks Blair off call |
| Commit | Succeeds | Succeeds |
Neither transaction touched the other's row, and both evaluated the business rule accurately against a consistent point-in-time snapshot. Even so, nobody is left on call.
Database literature calls this anomaly write skew. No serial one-after-the-other ordering of those two transactions could produce an empty rotation, because the second transaction would read the first engineer's departure and reject the request.
In the classic two-doctor on-call SQL formulation, both concurrent snapshots observe count(*) = 2 and commit disjoint row updates unless FOR UPDATE promotes the read dependency into commit validation:
/* Session 1: snapshot sees 2 on-call doctors, updates doctor_id = 1 */
BEGIN;
SELECT count(*) FROM doctors WHERE shift_id = 9 AND on_call = true;
UPDATE doctors SET on_call = false WHERE doctor_id = 1;
COMMIT;
/* Session 2: concurrent snapshot sees 2, disjoint write key also commits */
BEGIN;
SELECT count(*) FROM doctors WHERE shift_id = 9 AND on_call = true;
UPDATE doctors SET on_call = false WHERE doctor_id = 2; COMMIT;
/* Fix: SELECT doctor_id FROM doctors WHERE shift_id = 9 FOR UPDATE; */
Snapshot reads and commit-time conflict checks
Aurora DSQL disaggregates transaction processing from storage and uses optimistic concurrency control (OCC) rather than distributed row locks. Active transactions read from a consistent timestamped snapshot and buffer writes locally, while commit adjudication checks whether another committed transaction modified overlapping write keys after that snapshot. Reading an unchanged peer row does not register as a write-write conflict.
That unbundled architecture echoes FoundationDB's separation of transaction resolvers from storage, with an intentional isolation trade-off: whereas FoundationDB checks read-write conflicts at commit time for strict serializability, DSQL defaults to write-key conflict detection so multi-region commits avoid shipping read sets unless explicitly requested.
Avoiding cross-region lock holding during transaction execution is why DSQL scales uncontended multi-region workloads cleanly. The architectural consequence is that multi-region durability and clock synchronization do not automatically enforce multi-row invariants.
Turning read dependencies into commit checks
For a fixed two-row invariant, reading both primary-key rows with SELECT ... FOR UPDATE inside each transaction closes the hole. In DSQL (Sections 2.4 and 5.5), FOR UPDATE does not grab a blocking pessimistic lock while the transaction runs. Instead, it adds those read keys to the commit-time conflict set so only one of the two transactions can commit.
When Alex's commit lands first, Blair's commit aborts on conflict. Retrying safely means re-running the entire transaction against a fresh snapshot rather than replaying the buffered write, at which point Blair sees Alex off shift and stays on call.
Dynamic membership rules still need careful schema design, because FOR UPDATE on existing rows will not catch phantom inserts into an open shift range without a parent shift row to serialize against.
In my experience, region-level architecture diagrams rarely surface write skew because the bug lives between two harmless-looking SQL statements. Where do your design reviews catch multi-row invariants when teams move from lock-based single-primary Postgres to optimistic distributed SQL?
Sources
- Aurora DSQL: Scalable, Multi-Region OLTP, July 2026 revision (Sections 2.4 and 5.5).
- Marc Brooker, The Aurora DSQL Paper, July 2026.
Continue in Paper Reviews
A Tighter Bound, More Mistakes
In Lamb, Torr, and Rudner's November 2026 paper on LLM judges, what caught my attention is that the tightest statistical bound comes from an adapter making…
SGLang RadixAttention: Put the Prompt Timestamp Last
Giving a language model the current timestamp is reasonable. Putting that changing timestamp on line one of a long system prompt is expensive. That is the…