aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/connections/result.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 15:37:53 +0100
committereunhhu <[email protected]>2026-09-25 15:37:53 +0100
commit49c29a1255e1ad3f7fde6c64910c7d2c38edad78 (patch)
tree7f76ee0913526dff84a69135e61e3a9cd3c01c64 /prototypes/connections/result.h
parent2ae802cfaa3dae01627d4c80e2655fb5e69f4e1e (diff)
downloadpure-49c29a1255e1ad3f7fde6c64910c7d2c38edad78.tar.gz
pure-49c29a1255e1ad3f7fde6c64910c7d2c38edad78.zip
Commit several drafts of the tree store atomically
pure_draft_commit_all publishes drafts of one store with a single head: every key must still be at its draft's base revision, all new extents and catalog records are written and synced once, and either every document becomes visible or none does. A single draft commit is the one-draft case. pure_state_open stores runtime-owned values (app states) under '.' plus a key. Document keys never start with '.', listings skip these values, and document operations refuse their names, so an app's state cannot collide with a document a client names. Tests kill a process at every commit stage of a three-draft batch and see all or none, inject each fault, stop a batch on one stale draft, and commit fifty keys in no order at once.
Diffstat (limited to 'prototypes/connections/result.h')
0 files changed, 0 insertions, 0 deletions