Skip to content

Batch standalone star write durability syncs - #501

Merged
matrixarkai merged 1 commit into
mainfrom
codex/star-write-journal-batching
Nov 6, 2026
Merged

matrixarkai merged 1 commit into
mainfrom
codex/star-write-journal-batching

Conversation

@matrixarkai

Copy link
Copy Markdown
Owner

Summary

  • hold each bounded standalone star batch under one replica lock
  • append one binary page outcome per accepted write and sync the journal once before reply
  • durably preserve an accepted prefix when a later conditional write is refused

Write amplification

At the maximum eight-page batch width, each standalone chunk member now performs one journal durability sync instead of eight. The binary recovery outcomes remain independently replayable, so this does not make the pages atomic.

Validation

  • all-feature library gate: 695 passed, 33 ignored; two load-sensitive deadline tests passed on exact isolated reruns
  • replica state transfer suite: 9 passed, 2 ignored
  • replica restart recovery suite: 19 passed, 3 ignored
  • exact eight-page journal sync and restart recovery test passed
  • added-lines, account-name, publication-text, and commit scrub gates clean

@matrixarkai
matrixarkai requested a review from bjmeetsfo November 6, 2026 16:33
@matrixarkai
matrixarkai merged commit 1c73fcd into main Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants