Imported conditions: a permanently refused mapping causes a refresh storm; ConditionCapacity never recovers in-stream #930

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

A3 verification review round 2 (evidence docs/plans/evidence/grpc-data-ext/A3.md), consumer ProjectedConditionAccess.Runner.cs:

  • N2: one mapping the origin always denies (or whose root metadata always fails) restarts the whole condition stream every 30 s → 240 s backoff. Each cycle re-snapshots every healthy mapping, sends RefreshRequired to all clients at the incomplete barrier, and answers methods BadNoCommunication in the gap. Fix: skip RefreshRequired when the incomplete set is unchanged; give definitive refusals (Denied/NotFound/Unsupported) a long backoff or retry the item in-stream.
  • N3: after an in-stream ConditionCapacity trip the mapping stays empty until something else ends the stream; an origin that drops back under the limit stays invisible. Retry on a long timer like Unavailable.

Should be done before A4's fleet-deployability gate.

A3 verification review round 2 (evidence docs/plans/evidence/grpc-data-ext/A3.md), consumer `ProjectedConditionAccess.Runner.cs`: - **N2:** one mapping the origin always denies (or whose root metadata always fails) restarts the whole condition stream every 30 s → 240 s backoff. Each cycle re-snapshots every healthy mapping, sends RefreshRequired to all clients at the incomplete barrier, and answers methods BadNoCommunication in the gap. Fix: skip RefreshRequired when the incomplete set is unchanged; give definitive refusals (Denied/NotFound/Unsupported) a long backoff or retry the item in-stream. - **N3:** after an in-stream ConditionCapacity trip the mapping stays empty until something else ends the stream; an origin that drops back under the limit stays invisible. Retry on a long timer like Unavailable. Should be done before A4's fleet-deployability gate.
dohertj2 added the type:followuppriority:p2 labels 2026-11-24 22:20:16 -05:00
Author
Owner

Fixed in A4 (merged 179881f4): refused/over-capacity mappings retried in-stream (item re-add) with long backoff for definitive refusals, RefreshRequired skipped when the incomplete set is unchanged, ConditionCapacity recovers in-stream. Red/green tests; review round 1 B1 (duplicate command id) also fixed. Evidence: A4.md.

Fixed in A4 (merged 179881f4): refused/over-capacity mappings retried in-stream (item re-add) with long backoff for definitive refusals, RefreshRequired skipped when the incomplete set is unchanged, ConditionCapacity recovers in-stream. Red/green tests; review round 1 B1 (duplicate command id) also fixed. 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#930