The node-engine applies a want by the bus revision of its key; run is information (design 47 H2 §813 (1), H-A-504 third to fifth addendum) #253

Merged
mesh-tools merged 2 commits from fix/want-order-by-revision into main 2026-11-23 01:46:04 +00:00
2 Commits
Author SHA1 Message Date
jschoubben 4adc35d5ce H2 H-A-504: every have read gives the run, pipeline and want revision
Review round 1: sessionHaves.Read gave no run, pipeline or want revision,
so on the live engine every have written over an apply (held, failed,
waiting, not composed) dropped the want revision, and the next want
counted as nothing applied. Read now maps the have value the same way as
ReadAt, through one function.

Builds: design 47 H2 §813 (1); H-A-504 fourth addendum
2026-11-23 02:13:04 +01:00
jschoubben 84ff92a407 H2 H-A-504: the node-engine orders wants by the want key's bus revision
The engine refused a want whose run was not newer than the run it applied,
so wants written with a revision number as their run held every later
want back ("the want of mesh-delivery-indexer carries run 288, and the
engine applied it from run 323"). The bus orders the writes of one key:
the engine now keeps the want revision it applied in the have (beside the
run, the seat's form 5) and refuses only an older revision; the same
revision goes on to the checks that already stop a needless apply, so
Reconcile and a recomposition still apply. The run is information.

Builds: design 47 H2 §813 (1); H-A-504 third addendum, H-A-504 fourth addendum, H-A-504 fifth addendum
2026-11-23 02:02:23 +01:00