Conversation
This was referenced Oct 25, 2026
beinan
force-pushed
the
codex/annotation-preserve-id-index
branch
from
October 25, 2026 12:15
7ef45ca to
c37abbb
Compare
beinan
changed the base branch from
codex/annotation-preserve-id-index
to
codex/annotation-distributed-load
October 25, 2026 13:45
beinan
force-pushed
the
codex/annotation-indexed-load
branch
from
October 25, 2026 13:45
f1aa904 to
0a64324
Compare
beinan
changed the base branch from
codex/annotation-distributed-load
to
main
October 25, 2026 14:32
beinan
force-pushed
the
codex/annotation-indexed-load
branch
from
October 25, 2026 14:32
0a64324 to
0f23420
Compare
beinan
added a commit
that referenced
this pull request
Oct 25, 2026
## Summary A 2048-row cold annotation batch previously issued up to 16 serial Lance queries while holding the staging mutex. Use a bounded 2048-key query window while retaining 128-row scanner vectors, narrow projection, ordered mutation semantics and the existing durable staging limits. This increases bounded projected lookup workspace; it does not bound total RSS. Separate-host RF3/blob experiments with one owner, two ingresses, two writers and 65,536 indexed turns measured 20,977 updates/s over 120 seconds versus 9,238/s for the preceding 128-key run. ACK p99 bounds improved from 628 to 477 ms, but point-read p99 worsened from 267 to 382 ms. These are sequential runs on a reused table, not a production-capacity or body-ingestion claim. The three-second publication-window experiment was slower and is documented as a negative result. The candidate drained staging, preserved all values and the original ID index, reclaimed sources, and passed owner plus all-three-WAL-process SIGKILL/restart with 4096 acknowledged unmaterialized updates. Storage remained intact. Builds on merged #590. Refs #378. ## Testing Recorded measurements and local checks describe the earlier tested stack. Current-head CI is evaluated separately. The unchanged own patch was restacked onto main after #590/#593 merged; current-head local fmt and service/http-client Clippy passed, along with 15 core staging tests and 17 ingestion annotation tests (4 explicitly ignored). Current-head GitHub CI remains the merge gate. - Full local CI script: Rust 958 passed / 330 ignored; Python 220 passed / 11 skipped / 1 xfailed; fmt, workspace Clippy, Ruff and Pyright passed. - Ingest `service,http-client` Clippy and annotation tests: 17 passed / 4 explicitly ignored. - Existing ordered-update/frozen-state/atomic-rejection regression extended across the 2048-key boundary. - Saved release-binary local control/candidate comparisons and 120-second candidate run: full value/index/GC/drain checks passed, zero client refusals. - Cloud candidate: 2,519,040 updates, 2460 post-ACK reads plus 64 final samples, full 65,536-row verification; bounded staging and final drain. Independent fault analysis verified the old durable base cut and replayed dirty entries after full process restart.
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
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.
service,http-clientClippy and release probe build passed.The deployment probe (#589) is on main. ID-index preservation (#591) is already on main. Refs #378.