You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
registrar: snapshot-first removal in UnregisterEndpoint builds REMOVED events without a Protocol, so Snapshot.Apply keys them under PROTOCOL_UNSPECIFIED and (suspected) removes nothing until the next sync #1206
Suspected while implementing #1193 (PR #1204), NOT yet tested. The UnregisterEndpoint RPC's snapshot-first path builds ENDPOINT_REMOVED events without setting Protocol; Snapshot.Apply keys removals by (service, protocol, ip), so the key lands under PROTOCOL_UNSPECIFIED and matches no entry — the endpoint stays until the next sync's diff removes it. The agent's removeLocked likely has the same no-op for the same event. To do: a test that unregisters an HTTP endpoint through the RPC and asserts it is gone from the snapshot and from a watching agent's cache BEFORE the next sync; if it fails, stamp the protocol(s) on the REMOVED events (one per protocol the endpoint was registered under).
Activity