Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

fix(restart): the vector model's fixed read is taken once it has settled (#337) - #338

Merged
tae898 merged 1 commit into
mainfrom
restart-settle
Oct 18, 2026
Merged

tae898 merged 1 commit into
mainfrom
restart-settle

Conversation

@tae898

@tae898 tae898 commented Oct 18, 2026

Copy link
Copy Markdown

Closes #337.

The restart lane's vector model compares its fixed read before the first stop with want, this engine's own top 10 read at the end of the build. On mini (qP26, 2026-10-18) MongoDB's small cell failed there: two reads a moment apart, no write in between, differed by one id after mongot reported the index READY and queryable, so the cell has no rows.

want is now taken by settled_read: three identical reads in a row, one second apart, within 600 s (env BENCH_RS_SETTLE_READS, BENCH_RS_SETTLE_GAP_S, BENCH_RS_SETTLE_S), outside every timed section, so the measured restart is unchanged and a stable engine pays two extra reads. The row records restart_settle_reads and restart_settle_s (declared in page_check.py's not-printed fields). An answer that never settles refuses the cell with that message instead of "the load is wrong". The docs, graph and time series models are exact reads and are not touched.

On mini the 26.10.2 pass pulls main at each stage start; its only dense restart cell is ArcadeDB's (qR13), which then takes the settled read too. No pass-1 stage left in the queue runs dense restart.

Checked locally before pushing:

  • test_restart_settle.py (new, 3 tests): passes
  • every benchmarks/experiments/test_*.py with and without this change (pytest, numpy, results/ present): the same 77 environment failures and errors on both, no new one
  • py_compile on the two edited modules

🤖 Generated with Claude Code

…led (#337)

qP26's MongoDB small rep 1 failed the pre-stop gate: two reads of the same engine's top 10, a moment apart with no write between, differed by one id after mongot reported the index READY and queryable. The read that becomes `want` is now taken once three reads in a row agree (one second apart, within 600 s, env BENCH_RS_SETTLE_READS / _GAP_S / _S), outside every timed section; the row records restart_settle_reads and restart_settle_s (declared in page_check's not-printed fields), and the gate's message says what `want` is. A stable engine takes two extra reads.

Closes #337.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898
tae898 merged commit 920d693 into main Oct 18, 2026
3 checks passed
@tae898
tae898 deleted the restart-settle branch October 18, 2026 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restart lane: the vector model's fixed read is taken before an approximate index settles, so MongoDB's small cell failed

1 participant