Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@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-indexed-load to codex/annotation-point-scan October 25, 2026 13:46
@beinan
beinan force-pushed the codex/annotation-cold-query-window branch from d6207df to 708e13f Compare October 25, 2026 13:46
@beinan
beinan force-pushed the codex/annotation-point-scan branch from 6f44192 to 2db380c Compare October 25, 2026 14:37
@beinan
beinan force-pushed the codex/annotation-cold-query-window branch from 708e13f to c9106d8 Compare October 25, 2026 14:38
@beinan
beinan changed the base branch from codex/annotation-point-scan to main October 25, 2026 15:38
@beinan
beinan force-pushed the codex/annotation-cold-query-window branch from c9106d8 to b78e3fe Compare October 25, 2026 15:39
@beinan
beinan merged commit af31a91 into main Oct 25, 2026
14 checks passed
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