Files
hermes-agent/tests/persistence_sqlite/core
kshitijk4poor 09ded63c4f fix(storage): re-read the realign decision under the lock; share _in_one_read with _display_set
From the final-head gate wave on b12ce8e275:

- Two openers that both saw the retired marker before rebuild admission each
  ran the full rebuild in turn (about 130 s on a 1.35M-row store), because
  the admitted callback did not re-check whether a peer had already
  aligned. align_locked now re-reads the layout and the marker under
  BEGIN IMMEDIATE and skips when there is nothing left to do. New test: the
  opener admitted second runs no rebuild; red on b12ce8e275
  (['second', 'first']).
- messages._display_set uses the shared sql_common._in_one_read instead of
  its own copy of the same BEGIN/ROLLBACK wrapper.
- Docstrings corrected where they no longer matched the code: the probe's
  IOERR may be persistent; _attribute_ranked_corruption raises it for a
  replay; _fts_match_read publishes the unattributed error after the retry
  budget; a writable write as well as a search detaches a damaged index;
  the skip decision is re-read under the lock.
2026-11-18 16:37:44 +05:30
..