Read what a node was sent from its assignment keys; a pulled-in module keeps a standing key; a hand send is a time (issue 1109)
SentBuilds answers from the keys of the node's assignments that name a commit, known when the node was sent anything and no key says its commit unknown. A send that names its builds writes the commit, build and rollout on each carried module's key (a module nothing assigns gets a standing key marked pulled-in, never a state) and clears what every other key of the node named; a send by hand writes sent-unknown, a time, on every key and clears their commits. A failed write of these fails the record of the send. node.sent_builds is no longer written. The plan pass ends a pulled-in key only when no send carries it.
This commit is contained in:
Vendored
+3
@@ -162,3 +162,6 @@
|
||||
./internal/inventory TestAPendingIsMarkedOnceAndGoesWithItsMachine
|
||||
./internal/inventory TestAReplacedWaitNeverLeavesTheOperatorWithoutItsCondition
|
||||
./cmd/mesh-controller TestAnAssignmentWaitingForItsBuildIsOneKeyOfTheAssignmentsBucket
|
||||
./internal/inventory TestSentBuildsAnswersFromTheAssignmentsKeysOfTheNode
|
||||
./internal/inventory TestASendReplacesTheWholeMapOfTheNodeAndAHandSendMakesItUnknown
|
||||
./internal/inventory TestAFailedWriteOfTheLinksFailsTheRecordOfTheSend
|
||||
|
||||
Reference in New Issue
Block a user