feat: integrate stable partitions with FRI V1 - #9007
Draft
LuQQiu wants to merge 2 commits into
Draft
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.
Stable partitions can retain existing B-tree segments while compaction continues writing FRI V1. This implements the mixed lifecycle using #8972's
RowMapWriterandRowMapReader, without duplicating the codec or migrating V1 history._row_maps/<uuid>/row_map.lancereferences atomically throughOperation::Rewrite, with paired reader/writer capability flags.remap_row_addrsthrough the same Rust translator.AllowUnindexedpolicy to accept incomplete source coverage.Experimental scope: physical row addresses, one storage base, and B-tree query/maintenance integration. Other affected index types fall back to scanning. Automatic clustering, coordinated draining/pruning, and cloning mixed datasets remain outside this implementation. This is a draft; the formal format-change process is deferred until the design is agreed.
Stack: #8972 → this PR, with base branch
lu/friv2. Replaces closed #8978. GitHub's native stack API rejects fork PRs, so the dependency is represented by the PR base branch.Validation: 17 FRI tests and 6 table-format/transaction/flag tests passed; 2 targeted Python regression tests passed. Workspace
cargo fmt --allandcargo clippy --all --tests --benches -- -D warnings, Pythonuv run make lint, JNI Clippy, and commit hooks passed. The Python extension was rebuilt withmake build.