H2 H-A-504: the node-engine's have keeps the want revision it applied
The node-engine orders wants by the bus revision of the want key, not by run, so the have, the record of what it applied, keeps that revision beside the run: a restarted engine reads it from the bus, nothing only in memory. Run and pipeline become information. The seat's form rises to 5. Generated with mesh-delivery's seatgen (built from trunk 41ca769f); seatgen -check clean in all five folders. Fixture row: a have naming its want revision. Builds: design 47 H2 §813 (1); H-A-504 third addendum, H-A-504 fourth addendum
This commit is contained in:
@@ -346,7 +346,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "a module applied from a composition run names the run and its pipeline (design 47 H2 §813 (1), H-A-388, H-A-458 (1))",
|
||||
"name": "a module applied from a composition run names the run, its pipeline and the want revision (design 47 H2 §813 (1), H-A-388, H-A-458 (1), H-A-504 fourth addendum)",
|
||||
"of": "state:have/<node>.<module>",
|
||||
"given": {
|
||||
"v": 1,
|
||||
@@ -354,7 +354,8 @@
|
||||
"phase": "running",
|
||||
"health": "ok",
|
||||
"run": "178",
|
||||
"pipeline": "main.mesh-host"
|
||||
"pipeline": "main.mesh-host",
|
||||
"want-revision": 301924
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"format": 1,
|
||||
"form": 4,
|
||||
"form": 5,
|
||||
"seat": "node-engine",
|
||||
"scope": "node",
|
||||
"grain": "whole",
|
||||
@@ -1358,11 +1358,15 @@
|
||||
},
|
||||
"run": {
|
||||
"type": "string",
|
||||
"description": "the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): a restarted engine applies no older run again"
|
||||
"description": "the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): information for the why and the tools, never a gate (H-A-504 third addendum)"
|
||||
},
|
||||
"want-revision": {
|
||||
"type": "integer",
|
||||
"description": "the bus revision of the want key the module was applied from (design 47 H2 §813 (1), H-A-504 third and fourth addenda): the engine applies a want whose key revision is newer than this one, whatever its run; a have without it counts as no revision applied"
|
||||
},
|
||||
"pipeline": {
|
||||
"type": "string",
|
||||
"description": "the pipeline of the want the module was applied from, its key <branch>.<source>, beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want's branch is the same, the key without its last .<source>; absent for a want in none"
|
||||
"description": "the pipeline of the want the module was applied from, its key <branch>.<source>, beside its run (H-A-429 (1), H-A-458 (1)): information, like the run (H-A-504 third addendum); absent for a want in none"
|
||||
},
|
||||
"kept": {
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user