docs(grpc-data): H1 review notes for H2/H3 (details resend, store lifecycle, off-thread port, IVT/facade, transport chunking)
This commit is contained in:
@@ -1083,7 +1083,14 @@ settle windows are calibrated at the A1 exit (L4), before `state_known` ships.
|
||||
- client: header gating, deadlines, `FailedPrecondition`/`Unimplemented` ⇒ unsupported;
|
||||
- `LocalDataConnection` history for direct runtime consumers;
|
||||
- **validator bit + `LocalDataServices.cs:47` `Implemented(target)` + `AddDataConnectionHistory` + artifact projection +
|
||||
AdminUI checkboxes/limits**.
|
||||
AdminUI checkboxes/limits**;
|
||||
- origin over the H1 port (H1 review notes): `ReadHistory` is synchronous (it block-bridges like the SDK overrides), so run
|
||||
it off the RPC thread; it and `PeerHistoryContinuationStore`/`Scope` are `internal` to OpcUaServer, so add
|
||||
`InternalsVisibleTo` for the serving project or a public facade implementing `IDataHistoryService`; one store per
|
||||
(principal, connection incarnation), `Clear()`ed on connection close; the scope's serving incarnation comes from the
|
||||
connection (read live, so an in-process failover invalidates tokens); items carry a view `BindingTag` (mapping id/kind);
|
||||
Processed/AtTime chunking and the consumer's assembly budget live in the transport, not the port; history capabilities
|
||||
are an additive H2 capabilities field.
|
||||
- Files: proto/mapper, `Host/Grpc/DataConnectionGrpcService.cs`,
|
||||
`Runtime/DataConnections/{LocalDataServices,LocalDataConnection,GrpcDataConnection,DataCapabilitiesProvider,LocalExportCatalog.Compilation}.cs`,
|
||||
`Core/Authorization/DataOperationPolicy.cs`, `Configuration/{Entities/*,Validation/DataConnectionValidator.cs,Migrations/*}`,
|
||||
@@ -1099,7 +1106,9 @@ settle windows are calibrated at the A1 exit (L4), before `state_known` ships.
|
||||
**H3 — Consumer OPC UA projection.**
|
||||
- Tasks: projected `Historizing`/AccessLevel; `IProjectedHistoryAccess` (`ProjectedDataAccess.cs:157` allowlist extended);
|
||||
overrides split local and projected handles; `HistoryCursorKind.Remote`; release forwarding on `releaseContinuationPoints`
|
||||
and session close; mapping gate `HistoryRead`; per-request assembly budget.
|
||||
and session close; mapping gate `HistoryRead`; per-request assembly budget. The Remote cursor stores the ORIGINAL request
|
||||
details and resends them on resume: a peer continuation binds the details hash (a resume under other details is
|
||||
`BadContinuationPointInvalid`), whereas local SDK resumes ignore details.
|
||||
- Files: NM, new `OpcUaServer/IProjectedHistoryAccess.cs`, new `Runtime/DataConnections/ProjectedHistoryAccess.cs`,
|
||||
`OpcUaServer/Security/DataPlaneAuthorizer.cs`.
|
||||
- Tests: O for allow/deny with ACLs on and off, resume after mapping revision change / lease expiry / failover / origin rebuild
|
||||
|
||||
Reference in New Issue
Block a user