Replica mirror (the local Snapshot) #4
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Spec: Shared in-memory state model (Registry + Snapshot) — #1
What to build
Every replica watches the managed Registry Secret and the referenced per-App Secrets, and maintains its local in-memory Snapshot. On any change it rebuilds the whole block and atomically swaps the pointer (lock-free read; the hostname index and App set are built together; rapid changes are coalesced). The per-replica "bytes present" (which drives the 5xx flag) is derived from the local Secret watch — the behaviour side, immediate and leader-independent.
Acceptance criteria
Blocked by