Conversation
beinan
marked this pull request as ready for review
October 25, 2026 09:29
Collaborator
Author
|
All HA test steps passed on The branch now includes the same 75-minute HA job budget already merged in #579. No product code, test command, assertion or runtime timeout changed. The new head must finish its own checks before merge. Refs #378. |
beinan
force-pushed
the
codex/annotation-preserve-id-index
branch
from
October 25, 2026 12:15
7ef45ca to
c37abbb
Compare
beinan
added a commit
that referenced
this pull request
Oct 25, 2026
) ## Summary The deployed annotation probe can seed an ID B-tree, accept batches up to 2,048 rows, and verify that publication preserves the original index UUID, all fragment coverage and indexed point-query plan. Two independently spawned writers retain durable request/ACK journals and cross-ingress reads, with cumulative client phase timers to distinguish encoding, journal work and response waits. Documents the single-shard acceptance checks, required memory budgets and staging limits that are fixed by the durable mutation contract. This extends the test client; it does not change service semantics or add mutation recovery retries. ## Testing Recorded deployment measurements describe the earlier tested stack. Current-head CI is evaluated separately. - Workspace formatting, Clippy and Rust tests: 958 passed, 330 ignored. - Python: 220 passed, 11 skipped, 1 xfailed; Ruff and Pyright passed. - `service,http-client` Clippy and release probe build passed. - Release probe against actual local RF3/Lance 13 roles: 65,536 indexed turns, 2,048-row batches, 266,240 updates in a 10-second correctness run; 260 post-ACK reads plus 64 final samples, complete value/index verification, source reclamation and final empty staging. No refusals or read mismatches. This is not a production throughput qualification. The deployment probe (#589) is on main. ID-index preservation (#591) is already on main. Refs #378.
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
Publishing a frozen annotation batch rewrote its
idjoin key and withdrew the touched fragments from the ID index, so cold point reads could fall back to scans after publication. Keep the original physical ID column in the prepared Lance 13 column update and tombstone the redundant ID mapping in the new narrow file. Annotation indexes still lose coverage for changed values; no index rebuild or Lance OSS change is needed.The adjustment checks the native update's row layout and file mappings before preserving ID index coverage. Prepared-transaction validation accepts the unused slot while continuing to reject foreign fields and invalid file mappings. The writer still emits the unused ID bytes; this change preserves query performance rather than eliminating that write.
Testing
[0, 1]to[1].service,http-clientfeature Clippy with warnings denied.This fix applies independently to the annotation publication path on main. The refreshed standalone head must pass its own checks before merge. Refs #378.