A push issues the memberships of the machines it told #191
@@ -384,6 +384,15 @@ func pushCommand(ctx context.Context, args []string) error {
|
|||||||
}
|
}
|
||||||
release()
|
release()
|
||||||
fmt.Printf("\n%d node(s) told\n", len(sending))
|
fmt.Printf("\n%d node(s) told\n", len(sending))
|
||||||
|
// And each machine's memberships, as every other send does (ADR 0160): a push is the one most
|
||||||
|
// operators run, and on 2026-10-01 it was the one path that issued none.
|
||||||
|
var told []string
|
||||||
|
for _, s := range sending {
|
||||||
|
told = append(told, s.node)
|
||||||
|
}
|
||||||
|
if err := issueMemberships(ctx, open, server, told); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
// **A named push leaves the mesh consistent, not just the machine it named** (novox/hq
|
// **A named push leaves the mesh consistent, not just the machine it named** (novox/hq
|
||||||
// issue 057, ADR 0083). Assigning a cross-node consumer mints a provision, and the PROVIDER's
|
// issue 057, ADR 0083). Assigning a cross-node consumer mints a provision, and the PROVIDER's
|
||||||
|
|||||||
Reference in New Issue
Block a user