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 (kubernetes backend): a flushed write-behind register op is never released, so two replicas can serve different versions of the same endpoint #1145
Noticed while fixing #1124 (PR #1142), not verified by a test. On the kubernetes backend a write-behind register op "flushes" as a no-op; collectDueOps skips flushed ops before its max-age check, and Overlay releases one only when the pod-derived endpoint is proto.Equal to the agent's version. So the receiving replica may keep serving the AGENT's version of an endpoint (its overlay) while the other replica serves the POD-derived one, until the agent unregisters it — any field the agent sets that the pod-derived view does not reproduce exactly diverges between replicas. To do: write a test that registers an endpoint whose agent view differs from the pod-derived view on one replica and compares both replicas' snapshots; then either make the overlay expire by max age on this backend too, or make the pod-derived view the single source of truth and drop the overlay for the kubernetes backend.
Activity
fix(registrar): kubernetes backend releases an agent's write at the n…