Imported conditions: review nits N4–N8 (reconnect backoff, ledger under-count window, _staleGate ordering, double RefreshRequired, _stopping retention) #931

Closed
opened 2026-11-24 22:20:17 -05:00 by dohertj2 · 1 comment
Owner

A3 verification review round 2 nits, consumer ProjectedConditionAccess*.cs / ProjectedConditionRegistry.cs:

  • N4: metadata failing for every mapping / no Primary during failover loops at ReconnectDelay (1 s) with a log + DataConnConditionResyncs increment per pass — add backoff.
  • N5: ledger charge max(Materialised, ΣClaims) under-counts while one mapping's stale keys are held and another claims; SetMaterialised has no cap check (bounded by Σ MaxConditions).
  • N6: stale timer calls the sink holding _staleGate; Stop takes _staleGate under _gate; a method call's lock(_gate) can wait behind node-manager Lock work. No deadlock. Read Serving without _gate.
  • N7: a capacity reset sends RefreshRequired twice.
  • N8: _stopping keeps the last runner of a connection that never returns.
A3 verification review round 2 nits, consumer `ProjectedConditionAccess*.cs` / `ProjectedConditionRegistry.cs`: - N4: metadata failing for every mapping / no Primary during failover loops at ReconnectDelay (1 s) with a log + DataConnConditionResyncs increment per pass — add backoff. - N5: ledger charge max(Materialised, ΣClaims) under-counts while one mapping's stale keys are held and another claims; SetMaterialised has no cap check (bounded by Σ MaxConditions). - N6: stale timer calls the sink holding _staleGate; Stop takes _staleGate under _gate; a method call's lock(_gate) can wait behind node-manager Lock work. No deadlock. Read Serving without _gate. - N7: a capacity reset sends RefreshRequired twice. - N8: _stopping keeps the last runner of a connection that never returns.
dohertj2 added the type:followup label 2026-11-24 22:20:17 -05:00
Author
Owner

Fixed in A4 (merged 179881f4): N4 reconnect backoff (MaxReconnectDelay 60 s), N5 ledger, N6 lock-free Serving read, N7 single RefreshRequired, N8 parked-runner release. Evidence: A4.md.

Fixed in A4 (merged 179881f4): N4 reconnect backoff (MaxReconnectDelay 60 s), N5 ledger, N6 lock-free Serving read, N7 single RefreshRequired, N8 parked-runner release. Evidence: A4.md.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#931