fix(grpc-data): removal RefreshRequired reaches the holders after their mapping left the deployed set (#936)
QueueRefreshRequired decided per item with the CURRENT gate (CanSee over the current mapping set), so when a deploy removed the mapping or its connection nobody passed and the §5.2 removal + RefreshRequired was never delivered. Each imported condition instance now records (weakly, per identity) every identity the §5.4 gate admitted to it — the verdict cache's compute is the only place a positive verdict is made, and every delivery, refresh replay and Read/Browse goes through it. A removal's RefreshRequired goes to the collected targets whose identity was admitted to the removed instance. The event carries no condition data (SourceNode=Server); a never-admitted session still gets nothing. OI test pins both: holders told after the gate admits nobody, the ungranted session not (with a must-arrive RefreshEnd control).
This commit is contained in:
@@ -863,7 +863,12 @@ This section is what an OPC UA client of the **consumer** sees. Code: `OpcUaServ
|
||||
mappings differs from the previous barrier's (#930: a mapping that stays refused across streams does not repeat it; one
|
||||
that completes leaves the set, so a relapse is announced again);
|
||||
- an imported condition is removed (a complete re-snapshot no longer lists it, a `removed` record, a capacity
|
||||
eviction, or a secret rotation). Removal emits **no** `NodeDeleted` model change;
|
||||
eviction, a secret rotation, its mapping or connection leaving the deployed set, a demand linger, or #933's
|
||||
`MaxUnknownHold`). Removal emits **no** `NodeDeleted` model change. For a removal, "may see" means "its identity was
|
||||
admitted by the gate to that condition instance" (a delivery, a refresh replay or a Read/Browse of it), recorded per
|
||||
instance — not the current mapping set, which no longer admits anybody once the removal was caused by the mapping
|
||||
leaving it (#936). The event carries no condition field (`SourceNode = Server`, `Message = "RefreshRequired"`), and a
|
||||
session never admitted to the condition is not sent one;
|
||||
- a resync leaves retained EventIds un-re-bindable (see EventIds below).
|
||||
- **Before the first barrier, a refresh returns nothing imported**, because nothing is materialised yet. Conditions appear
|
||||
as their records apply. A RefreshRequired follows only if that barrier is incomplete; a refresh that merely preceded a
|
||||
|
||||
Reference in New Issue
Block a user