perf(acl,grpc-data): #1053 alloc-free warm UNS ACL decisions; unresolvable configured refs back off; restart keeps the comms latch (decided)
U-8: a warm cached decision on a UNS node allocated 416-680 B/call ahead of the cache (live id-chain list, identifier split, LINQ, segment array, string.Join key, DataCallerIdentity). Now 0 B: the live chain is cached per folder instance (re-verified against the live ancestry every call), the generation hands out one segment array per path, the authorizer keys its resolved cache keys on that array, reference variables key on their own identifier (scope = its split), and the caller identity is built once per session identity. R-25: ConfiguredProjectedInterestOwner re-ran discovery for an unresolvable configured reference every 1 s sweep forever; a failed resolve now backs off 1 s doubling to 30 s (60 s unreachable: 61 discoveries -> 6). Publishing into the source hub only for sources with interest is DECLINED: that cache answers a new subscription's first snapshot and projected Reads. Restart comms latch (decided: keep): the nodes stay Bad across an operator Restart and the respawned incarnation must re-publish them; the stopped child's PostStop announcement already re-latches and cancels the old audit. Pinned by test. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -596,6 +596,10 @@ Warning / counter increment and a disable then re-enable of the same id never in
|
||||
holds the id in the `ChildHealthLedger` (`Forget` then `Readmit` on the next spawn), so the stopped child's late health
|
||||
publish cannot resurrect its diagnostics entry.
|
||||
|
||||
An operator **Restart** deliberately KEEPS the latch (#1053): the nodes stay in the address space, still Bad, and the
|
||||
respawned incarnation is what must re-publish them. The stopped incarnation's `PostStop` comms-loss announcement re-latches
|
||||
the current ref set and cancels the audit the old incarnation armed; the new incarnation's `Connected` re-arms it.
|
||||
|
||||
### The connect path feeds the circuit breaker (R2-10 T10 closure)
|
||||
|
||||
`IDriver.InitializeAsync` is routed through the capability invoker as
|
||||
|
||||
Reference in New Issue
Block a user