feat: persist native Arctic and Congee indexes - #39
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
persist: truewithusing arcticorusing congeefor primary and unique secondary indexesworktable_codegen1.0.0-beta.2Fork boundary
WorkTable consumes the published
arctic-wt 0.1.4andcongee-wt 0.4.1crates. The forks expose typed topology import/export only; WorkTable owns byte framing, checksums, WAL semantics, table versions, recovery, and compaction.Concurrency and hot paths
Format and recovery
See
docs/art-index-persistence-plan.mdanddocs/index-backend-dsl-proposal.md.Validation
cargo test --workspace --all-targets: passcargo fmt --all -- --check: passcargo clippy --workspace --all-targets -- -D warnings: passPreliminary local performance evidence
Two interleaved ten-trial ARM microprobe runs; these are engineering checks, not paper results:
The Arctic 1.5% read shift is disclosed as a small measurable regression and should be repeated on the target deployment hardware before promotion. The persistence cost is feature-gated by explicit
persist: trueplususing arctic|congee; memory-only ART tables do not pay it.Reproducible local probes are included under
examples/*_probe.rs.Deliberate beta boundaries
sync_dataThe immediate WTI follow-up is documented in
docs/wti-dirty-generation-persistence-plan.md: logical redo plus dirty-generation background checkpoints to reduce caller-side structural-CDC cost without affecting reads.