Skip to content

agent: after an agent restart a pod deletion before the proxy's opening Listener ACK does not wait for the listener's removal #1572

Closed as not planned

Description

@bpalermo

WaitListenerAbsent reads "the tracker knows nothing about this listener" as absent. After an agent restart, and until the proxy's opening Listener exchange is acknowledged (the whole reconnect backoff included), a CNI DEL returns at once, so netns teardown can race the listener's removal. #1559 shortens that window to the opening ACK; it does not close it, and a test there pins the limit.

Closing it needs the tracker to tell unknown from absent, at the cost of every DEL waiting the full bound while no proxy is connected. That trade-off is the decision to make.

🤖 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