Skip to content

Shutdown manager ignores active UDP proxy sessions when draining #10109

Closed

Description

@zhaohuabing

The shutdown manager decides Envoy is drained by summing listener.*.downstream_cx_active. UDP proxy sessions aren't counted there; they show up as udp.<stat_prefix>.downstream_sess_active (udp.service.downstream_sess_active for the listeners we generate). On a Gateway that only carries UDPRoutes, the count stays at 0, so the shutdown manager exits right after the minimum drain period while UDP sessions are still active, and those flows get cut off.

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

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions