fix(perf): #996 Wave 4 — blob-free health probes, narrow data-connections load, off-thread coordinator acks + AdminOps audit, events page cap, capped reservations page
C-6: DeploymentQueries projects Deployment without ArtifactBlob (DbHealthProbe, readiness, ClusterOverview, DriverHost boot). C-11/A-5: DraftSnapshotFactory.FromConfigDbForDataConnectionsAsync + one-parse-per-artifact LoadAppliedAsync + capped pickers. H-6: ConfigPublishCoordinator persists acks off the actor thread (AckPersisted); deadline backlog kicked in parallel. H-3: Restart/Reconnect reply = dispatch; ConfigEdit audit written off-mailbox, failure logged not surfaced. U-6: ServerHistorian:MaxEventsPerRead (default 10000) pages HistoryReadEvents; advertised as MaxReturnEventValues. A-8: /reservations active-only by default, projected, capped at 200. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,14 @@ validator remains authoritative: consumers must belong to the owning cluster, ma
|
||||
must be a subset of the connection's consumers, local parents must be valid containers, and branch
|
||||
collisions, invalid self-routes and unsupported type expectations are rejected.
|
||||
|
||||
**Authoring reads are narrow (#996, review C-11 / A-5).** The `/clusters/{id}/data-connections` page and its save/delete use
|
||||
`DraftSnapshotFactory.FromConfigDbForDataConnectionsAsync`, not the whole-DB deploy snapshot: it skips Scripts, PollGroups,
|
||||
NodeAcls, ApiKeys and reservations (nothing in `DataConnectionValidator` reads them) and projects each Tag to id/device/group/name,
|
||||
selecting `TagConfig` only for rows that could carry an `alarm` intent (the alarm-bearing-export-root rule, #942). Never feed that
|
||||
snapshot to `DraftValidator` or the artifact composer. `LoadAppliedAsync` fetches and inflates each distinct applied artifact once
|
||||
(`DeploymentArtifact.ParseDataConnections(blob, nodeIds)`), however many nodes share it. Tag-level picker lists are capped at 500
|
||||
entries; type the root as `Kind|EntityId` for anything beyond.
|
||||
|
||||
New connections default to a 30-second call timeout. Existing explicitly configured shorter
|
||||
timeouts remain in force. This limit never extends a caller's original deadline; a write without
|
||||
enough remaining time for the driver budget is rejected before dispatch.
|
||||
|
||||
Reference in New Issue
Block a user