This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Repository navigation
fix(restart): the vector model's fixed read is taken once it has settled (#337) - #338
Merged
Merged
Conversation
…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]>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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.wantis now taken bysettled_read: three identical reads in a row, one second apart, within 600 s (envBENCH_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 recordsrestart_settle_readsandrestart_settle_s(declared inpage_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): passesbenchmarks/experiments/test_*.pywith and without this change (pytest, numpy, results/ present): the same 77 environment failures and errors on both, no new onepy_compileon the two edited modules🤖 Generated with Claude Code