#1107 follow-up: live-verify deploy dispatch re-send rescues a missed dispatch (docker-dev / slow-gossip) #1110

Closed
opened 2026-12-04 22:43:18 -05:00 by dohertj2 · 2 comments
Owner

From the 2026-12-04 follow-up round 7 (#1107–#1109 fixed by parallel agents, merged on local master, unpushed).

Live-verify #1107 (deploy dispatch re-send). Unit + harness tests cover it, but no live run has shown a re-send rescuing a real deploy.

On docker-dev (or the two-node harness with slowed gossip / a failed gRPC dial to one node): deploy, confirm otopcua.deploy.redispatched increments for the un-acked node only, the deploy seals Applied, and an already-acked degraded node replays its ack (no second apply in its log).

Rollout note: upgrade driver nodes before central — a pre-#1107 node ignores target_nodes and re-applies on its own re-send (docs/Redundancy.md §"Dispatch re-send").

From the 2026-12-04 follow-up round 7 (#1107–#1109 fixed by parallel agents, merged on local master, unpushed). Live-verify #1107 (deploy dispatch re-send). Unit + harness tests cover it, but no live run has shown a re-send rescuing a real deploy. On docker-dev (or the two-node harness with slowed gossip / a failed gRPC dial to one node): deploy, confirm `otopcua.deploy.redispatched` increments for the un-acked node only, the deploy seals Applied, and an already-acked degraded node replays its ack (no second apply in its log). Rollout note: upgrade driver nodes before central — a pre-#1107 node ignores `target_nodes` and re-applies on its own re-send (docs/Redundancy.md §"Dispatch re-send").
dohertj2 added the type:deploy-gatepriority:p2 labels 2026-12-04 22:43:18 -05:00
Author
Owner

Live gate PASSED 2026-12-05 on docker-dev rebuilt from master (761ca/961ca2897 product code). site-b-1 paused 10 s across a deploy: coordinator logged 're-sending the dispatch to them (re-send 1 of 3)' at +5 s for site-b-1 only; otopcua_deploy_redispatched_total 0→1 on /metrics; deploy sealed acks=6; each node applied exactly once; site-b-1 logged the late-re-send capped wait (≤100 s). Minor: central logged the original dispatch to site-b-1 as 'NOT delivered (Cancelled)' though it was applied (client deadline expired as the node unpaused) → #1115.

Live gate PASSED 2026-12-05 on docker-dev rebuilt from master (761ca/`961ca2897` product code). site-b-1 paused 10 s across a deploy: coordinator logged 're-sending the dispatch to them (re-send 1 of 3)' at +5 s for site-b-1 only; `otopcua_deploy_redispatched_total` 0→1 on /metrics; deploy sealed acks=6; each node applied exactly once; site-b-1 logged the late-re-send capped wait (≤100 s). Minor: central logged the original dispatch to site-b-1 as 'NOT delivered (Cancelled)' though it was applied (client deadline expired as the node unpaused) → #1115.
Author
Owner

Correction: the 'NOT delivered (Cancelled)' log item is tracked in #1116, not #1115.

Correction: the 'NOT delivered (Cancelled)' log item is tracked in #1116, not #1115.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#1110