From f7cbfb1b713f72fb005f79853b7eb7c57de275f3 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sat, 5 Dec 2026 02:46:27 -0500 Subject: [PATCH] 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. --- docs/Redundancy.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/Redundancy.md b/docs/Redundancy.md index 308e1d1ee..2f30bac7a 100644 --- a/docs/Redundancy.md +++ b/docs/Redundancy.md @@ -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