Skip to content

Tier 5-1: Page CRC, Full-Page Images & Checkpoint Integrity - #89

Merged
nockawa merged 22 commits into
mainfrom
feature/82-fpi-durability
Feb 21, 2026
Merged

nockawa merged 22 commits into
mainfrom
feature/82-fpi-durability

Conversation

@nockawa

@nockawa nockawa commented Feb 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #82 — Complete FPI durability subsystem with page-level CRC checksums, Full-Page Image torn-page protection, seqlock-based consistent page snapshots, staging buffer pool, and optional LZ4 compression.

Phases implemented (all 6 sub-issues completed):

Additional changes:

  • WAL-less mode with deferred cleanup
  • Chunk-based WAL file format with proper CRC storage
  • Schema and database file loading support
  • DeferredCleanupManager batch processing optimization
  • BTree and secondary index bug fixes
  • Code coverage skill (/coverage)

Test plan

  • All 1393 unit tests pass
  • FPI unit, integration, crash injection, and concurrency tests included
  • Code coverage baseline recorded (77.7%)

nockawa and others added 22 commits February 17, 2026 02:26
…this header in the metadata section of the page to make the root page "just a normal page".
…rst kept entry has TSN > nextMinTSN: this is the last committed revision before the cutoff, needed because active transactions at MinTSN may have cached its content chunk ID.
Deferred cleanup path now collects content chunks instead of freeing
them immediately. Chunks are enqueued with safeAfterTSN and freed
when nextMinTSN catches up (all referencing transactions departed).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixed many bugs due to DeferredCleanupManager being too aggressive or concurrent.
@nockawa
nockawa merged commit ecfd4b9 into main Feb 21, 2026
5 checks passed
@nockawa
nockawa deleted the feature/82-fpi-durability branch February 21, 2026 18:27
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.

Tier 5-1: Page CRC, Full-Page Images & Checkpoint Integrity

1 participant