node-engine: back up a data module before its apply only when its move changed; a needless backup's hold ends (design 47 H2 H-A-771, H-A-772; issue 1984)
#260
Merged
mesh-toolsmerged 3 commits from fix/47-H2-771-unchanged-no-backup into main2026-11-26 03:34:36 +00:00
Review round 2 found two cases of H-A-772 (3) without a row: an interrupted backup whose want carries
again, and a failed again backup of an unchanged move.
- An interrupted backup, the want carrying again, the move unchanged: it says it is backed up again,
takes one backup and is applied.
- The want carrying again on an unchanged move whose backup fails: it is held, nothing is applied
until the later answer, and nothing says the hold ends.
Builds: design 47 H2 H-A-772 (1), (3)
Review round 1 found that an interrupted backup of a move judged unchanged still said "it is backed up
again" while the apply takes none, and that the start's hold end also matched a revert's hold, which
carries a wait.
- The interrupted backup's line says the move is judged unchanged and applied with no backup when the
judge finds it unchanged and the want carries no again; its comment says the same.
- The hold end at the start takes only a failed backup's hold (no wait): a revert's hold waits for the
operator's answer, whatever the judgement. A hold after a failed again stays, as before.
Builds: design 47 H2 H-A-772 (3)
On ace at 03:40:55 the node-engine backed up lidarr (5.6 GB) for a move whose one difference was
env.MESH_FINGERPRINT, judged unchanged; the backup ran past its 10 minutes, lidarr was held, the operator
was asked, and the agent's loop stood still for 10 minutes. A move judged unchanged changes nothing of
the module, so it needs no backup.
- The apply backs a data module up only when the judge finds the move changed (any judgement but
unchanged), or when the want carries the operator's answer again.
- The judgement compares the composition to what the machine applied (this engine's last apply, else
the applied store's composition read at the start), never to a have, which in issue 1585's shape
names a held composition not yet applied; with neither, the move is changed.
- A module held for a failed backup of a move judged unchanged has its hold ended at the engine's
start, said in the journal, and is applied with no backup; the assigner takes its ask back as stale
once the have runs.
Builds: design 47 H2 H-A-771, H-A-772 (1), (2)