Skip to content

fix: preserve ordered overlapping durable writes - #59

Merged
pathscale merged 2 commits into
masterfrom
fix/ordered-overlapping-batch-writes
Aug 7, 2026
Merged

fix: preserve ordered overlapping durable writes#59
pathscale merged 2 commits into
masterfrom
fix/ordered-overlapping-batch-writes

Conversation

@pathscale

Copy link
Copy Markdown
Owner

Summary

  • coalesce durable writes by physical page and offset so reused variable-length slots keep only the newest write
  • apply overlapping writes in operation and queue creation order
  • preserve ordering for rows sharing a multi-row operation ID
  • allow batch metadata to represent multiple rows from one multi-row operation

Verification

  • cargo fmt --all -- --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --workspace
  • AgencyZero: cargo test -p az-gui -- --test-threads=1 (187 passed)
  • AgencyZero: cargo test -p wt-migrate (13 passed)

AgencyZero resolved worktable from /Users/revenge/code/WorkTable for the consumer verification. No live AgencyZero store was opened.

@pathscale
pathscale merged commit 305ef4e into master Aug 7, 2026
5 checks passed
@pathscale
pathscale deleted the fix/ordered-overlapping-batch-writes branch August 7, 2026 05:44
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.

1 participant