Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@beinan
beinan force-pushed the codex/annotation-preserve-id-index branch from 7ef45ca to c37abbb Compare October 25, 2026 12:15
@beinan
beinan changed the base branch from codex/annotation-preserve-id-index to codex/annotation-distributed-load October 25, 2026 13:45
@beinan
beinan force-pushed the codex/annotation-indexed-load branch from f1aa904 to 0a64324 Compare October 25, 2026 13:45
@beinan
beinan changed the base branch from codex/annotation-distributed-load to main October 25, 2026 14:32
@beinan
beinan force-pushed the codex/annotation-indexed-load branch from 0a64324 to 0f23420 Compare October 25, 2026 14:32
@beinan
beinan merged commit d83b078 into main Oct 25, 2026
14 checks passed
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.
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.

1 participant