docs: #1114 a Failed apply keeps last-good only on the fetch/read path
A throw mid-apply can leave the node partly on the new configuration with its current revision marked unconfirmed (#977 R-15); only a failure to obtain the artifact leaves it on last-good. Reword the #1111 retry bullet.
This commit is contained in:
+6
-3
@@ -837,9 +837,12 @@ dial was dropped — either way the deployment sat until the 120 s deadline and
|
||||
16 deployments) instead of applying again — so a lost ack is recovered and a duplicate ack is harmless
|
||||
(the coordinator re-persists the same outcome, or discards it as stale). An ORIGINAL dispatch is unchanged:
|
||||
re-dispatching a degraded revision still re-applies.
|
||||
- **…except a lost `Failed` ack, which is RETRIED (#1111).** A failed apply leaves the node on its last-good
|
||||
configuration, and the failure and the lost ack usually share a cause (a central blip during the fetch), so on a
|
||||
re-send of a deployment whose remembered ack is `Failed` the node re-attempts the apply instead of replaying
|
||||
- **…except a lost `Failed` ack, which is RETRIED (#1111).** A failure to *obtain* the deployment (the artifact
|
||||
fetch / ConfigDb read returns no answer) leaves the node on its last-good configuration; a throw *mid-apply*
|
||||
(after the node began changing drivers or the address space) can leave it partly on the new configuration, with
|
||||
its current revision marked *unconfirmed* (#977 R-15) so a later dispatch of it re-applies rather than
|
||||
short-circuits. Either way the failure and the lost ack usually share a cause (a central blip during the fetch),
|
||||
so on a re-send of a deployment whose remembered ack is `Failed` the node re-attempts the apply instead of replaying
|
||||
`Failed`. Once per re-send, never concurrently (a copy arriving mid-retry is dropped as in-flight), and only while
|
||||
that deployment is still the node's **latest** answer with no other apply's ack held — a stale re-send of an older
|
||||
failed deployment after a newer one was applied replays `Failed` rather than rolling the node back. `Applied` and
|
||||
|
||||
Reference in New Issue
Block a user