Files
lmxopcua/tests
Joseph Doherty 59b17a39a6 fix(deploy): #1114 hold a late-Failed PartiallyFailed seal for a re-sent node's retry; monotonic deadline clock
Item 1: when every Failed ack that completes the expected set came from a node
this deployment was re-sent to (so a #1111 retry may be in flight), the
coordinator holds the PartiallyFailed seal for DefaultFailedSealGrace (10 s,
capped by the remaining apply deadline, once per deployment). An Applied from
that node inside the grace replaces its Failed and the deployment seals;
otherwise it closes PartiallyFailed when the grace ends. A Failed from a node
never re-sent to, a recovered deployment, the deadline and a zero grace all
close at once as before. Nothing sealed is ever reopened.

Item 2: the re-send window, DeadlineRemaining, the persist-deferral cap and the
grace are measured on TimeProvider.GetTimestamp (injectable) instead of
DateTime.UtcNow; only crash recovery still compares against the persisted
CreatedAtUtc. Tested with a fake TimeProvider whose wall clock jumps +/-1 day
while its monotonic counter is stepped explicitly.
2026-12-05 02:46:38 -05:00
..