A node with no want that has reported is current; with the bus out of reach it is not known, and the flip says so; no 'push' hint is left in adoption (release 6, issue 1945 B8)

This commit is contained in:
2026-10-24 18:09:38 +02:00
parent ad0aabc2a9
commit 0e85230769
6 changed files with 150 additions and 25 deletions
+3
View File
@@ -1138,6 +1138,9 @@ type Reported struct {
// Current is whether the machine has everything the assigner wants of it, read from its haves beside the wants
// (cmd/mesh-controller lastReports); false here, as this reads neither.
Current bool
// CurrentUnknown says Current could not be read (the bus holding the haves was not reachable): it is not "not current",
// it is not known.
CurrentUnknown bool
// Declared is the digest of the declaration the last report was about, and ReportedSequence that
// declaration's sequence as the report claimed it (zero from an engine that claims none): what a
// gate holds against the send it made, rather than against the send made last (novox/hq issue 352).