restart preserves wanted intent instead of forcing all agents up (#2540)
This commit is contained in:
parent
a32f3f6edf
commit
5bb5a88aa0
4 changed files with 77 additions and 68 deletions
|
|
@ -11,9 +11,11 @@
|
|||
//! assembled dynamically in `submit.rs` out of the shared pure primitives
|
||||
//! this module exports (`node`, `after_ok`, `rebuild_nodes`) — one
|
||||
//! independent per-agent subgraph each, concurrent on its own lease, ONE
|
||||
//! DAG for the whole hive-wide op. Power ops write the durable `wanted`
|
||||
//! DAG for the whole hive-wide op. `stop`/`start` write the durable `wanted`
|
||||
//! intent via a head `SetWanted(w)` node (holding the agent lease, so
|
||||
//! intent+reconcile is atomic per-agent).
|
||||
//! intent+reconcile is atomic per-agent); `restart` writes no intent — it
|
||||
//! bounces the container and lets the tail `Reconcile` converge to the
|
||||
//! agent's existing `wanted`.
|
||||
//!
|
||||
//! ```text
|
||||
//! rebuild(a): Prebuild(a) → StopForUpdate(a) → Swap(a) →(ok) PostSwap(a) →(any) Reconcile(a)
|
||||
|
|
|
|||
Loading…
Reference in a new issue