Skip to content

agent: listener presence in the ACK tracker survives a stream close, although a new Envoy process starts with no listeners #1585

Closed as not planned

Description

@bpalermo

The xDS ACK tracker keeps a listener "present" after its stream closes, on the assumption that Envoy keeps its configuration across a reconnect. That holds for a reconnect of the same process. A new Envoy process (a proxy pod restart rather than a hot restart, or a crash) starts empty, and nothing resets the tracker: a WaitListenerPresent for a name acknowledged by the previous process returns at once. Waits are also name-keyed and satisfied by any stream's ACK, so during a hot-restart overlap a wait means "some generation acknowledged".

Pre-existing; noted by the review of #1559, which adds one more writer of that state.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    bug
    minor
    proxy
    on Oct 9, 2026
  2. bpalermo commented on Oct 10, 2026

    @bpalermo
    OwnerAuthor

    Closing in favour of #1624, which replaces the tracker's one-state-per-name model with state per stream and lists this case among what it must settle. The tests written for this on the draft #1559 are that issue's specification.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugminorproxy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions