Files
lmxopcua/src/Core/ZB.MOM.WW.OtOpcUa.Commons/Protos
Joseph Doherty f5485f57d8 fix(deploy): #1111 retry a lost Failed ack on re-send; re-sends carry the remaining deadline
1. Node (DriverHostActor): a coordinator re-send of a deployment whose remembered ack is
   Failed now RE-ATTEMPTS the apply instead of replaying Failed — a failed apply left the
   node on last-good config, and a fetch failure and a lost ack usually share a cause.
   Once per re-send (a copy mid-retry is dropped by Applying), and only while that
   deployment is still the node's latest answer with no other ack held, so a stale re-send
   of an OLDER failed deployment replays Failed rather than rolling back a newer apply.
   Applied / Applied+degraded keep the replay (#601 unchanged).

2. DispatchDeployment gains additive DeadlineRemaining (proto optional int64
   deadline_remaining_ms = 5), set by ConfigPublishCoordinator on every re-send (relative,
   no clock agreement needed), unset on the original. A node whose apply was started by a
   re-send bounds its held Applied ack's address-space wait to remaining - 15 s from
   receipt (floor 1 s), so a node first reached at +35 s acks Applied (degraded) before
   central's deadline instead of sealing TimedOut. Old central -> field absent -> full
   105 s (today); old node ignores the field (limit documented).

3. Docs: remembered acks are in memory only (restart/supervision restart forgets them);
   Redundancy.md §Dispatch re-send + cluster-topology rule updated.

Tests: Failed-ack retry + later replay, stale older-failed guard with positive control,
re-send deadline bound with original-dispatch positive control (both behaviour tests
verified to fail with the change disabled), mapper presence round-trip, coordinator
DeadlineRemaining countdown.
2026-12-05 00:24:49 -05:00
..