docs(grpc-data): A4 F1–F4 root causes, design decision (consumer holds imported conditions across its own deploy; promote-on-admission), native ack freeze = opc-plc behaviour; #935 #936 filed
This commit is contained in:
+11
-6
@@ -831,12 +831,17 @@ This section is what an OPC UA client of the **consumer** sees. Code: `OpcUaServ
|
||||
Wiring is lazy, in both directions, and also adds a root notifier. It is unwired at every projected-removal site.
|
||||
Projected folders of a condition-bearing mapping are meant to have `SubscribeToEvents` from materialisation, so that a
|
||||
client can subscribe at a folder before any condition is wired there and open demand.
|
||||
- ⚠️ **Live behaviour (A4 gate, runs `a4s-1` and `a4s-3`): that does not hold.** On a consumer node where no `i=2253` event
|
||||
item has opened demand yet (including a freshly restarted node), an event item on a mapping's branch folder (e.g.
|
||||
`remote-opc`) is refused `BadNotSupported` and the CLI `alarms -n <folder>` exits. Once demand is open and the
|
||||
conditions are wired, the same folder accepts items and delivers every event.
|
||||
- **Workaround:** open demand with a Server-object (`i=2253`) event item first (ScadaBridge's DCL already does), then
|
||||
subscribe at folders. A folder-only client never receives imported conditions. Tracked as an A4 finding.
|
||||
- A projected folder that materialised **before** its mapping was condition-bearing (a freshly restarted consumer serves
|
||||
its projected pages before the mapping's authority activates at the first barrier) is promoted when an event item on it
|
||||
is **admitted** (the mapping gate passes): `SubscribeToEvents` re-checks the mapping and sets `SubscribeToEvents` before
|
||||
the SDK attach. (A4 finding F4, fixed on `a4-code`: such a folder-first item used to be refused `BadNotSupported` until an
|
||||
`i=2253` item had opened demand and a condition was wired there.)
|
||||
- **A consumer's own deploy is not a removal.** Every deploy begins with an empty, undecided mapping set (the catalog
|
||||
attempt is suspended until it completes). Imported conditions are **held** across it — the connection's next runner takes
|
||||
them over and re-snapshots onto the same nodes, so an unchanged condition reports no event and keeps its EventIds. Only a
|
||||
settled set without the mapping's connection (or the demand linger) removes them. (A4 findings F1–F3, fixed on `a4-code`:
|
||||
each deploy used to remove and re-create every imported condition — a phantom event per active condition, an origin
|
||||
transition delivered twice, every older EventId `BadEventIdUnknown` with no RefreshRequired.)
|
||||
- **One event per origin transition.** It is delivered to every wired folder item and to the Server object (`i=2253`),
|
||||
however many placements the condition has (one `ReportEvent`, through the shared report walk).
|
||||
- A folder holding an admitted event item is pinned: projection eviction and paging skip it. Removing the mapping still
|
||||
|
||||
Reference in New Issue
Block a user