Judge an access the engine cannot see, and entries left while a disk was away, by whether the move changes accesses (hq ADR 0325)

An unknown access carries no wait: of a module whose move leaves its accesses as they were it is not
counted; of one whose move changes them, or is not known, it is not yet healthy, held to the gate's bound
so the gate fails safe and never hangs. Entries left while a disk was away follow the same rule.
This commit is contained in:
2026-10-12 19:40:47 +02:00
parent 2b15cb57f0
commit 09c6f92b4a
4 changed files with 106 additions and 5 deletions
+5
View File
@@ -613,6 +613,11 @@ func (w AccessWait) WaitsForDisk() bool {
return strings.HasPrefix(strings.TrimSpace(w.What), "mount the disk")
}
// KindAccess is an access's verdict (novox/hq ADR 0325; mesh-host internal/link KindAccess): healthy while each user
// has its right, waiting while the mesh may not keep its folder yet or its disk is not there, unhealthy otherwise —
// and unknown when its filesystem could not be named this look (a hung mount), carrying no wait.
const KindAccess = "access"
// KindKeptEntries is the mesh's entries on a shared folder that nobody wants and that could not be taken out yet
// because its disk was away (novox/hq ADR 0325 §8; mesh-host internal/link): unhealthy, said under the access that
// last named it (`<access id>~entries`), which may no longer be declared. The node-engine's own.