Skip to content

agent: the acknowledged SAN-pin gauge can move to a snapshot the proxy partly rejected #1508

Closed

Description

@bpalermo

After the proxy NACKs a cluster update, go-control-plane treats the rejected clusters as delivered and does not re-send them on that stream (measured on the pinned cache while doing #1483, PR #1504). The next ACK of an unrelated cluster change then moves aether.agent.xds.acked_tls_clusters to the newer snapshot's counts, although the proxy still holds the old version of the rejected cluster.

Example: cluster A is unpinned; the update that pins A is rejected; cluster B changes and is ACKed; the gauge then shows A pinned and AetherProxyHoldsUnpinnedClusters resolves.

Inferred from the measured cache behaviour and the tracker's code; not reproduced end to end. Present since #1479.

Fix direction: the acknowledged state must be kept per cluster (a NACKed resource stays at its last acknowledged version until a response carrying it is ACKed), not per snapshot.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugobservability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions