Skip to content

h2 service clusters have the same in-flight hole as #1087: a delivered request to a vanished endpoint hangs the full route timeout (no TCP keepalive / HTTP/2 PING) #1104

Closed

Description

@bpalermo

Follow-up from #1087 (PR #1101, which fixes the QUIC twin clusters only). The h2 base clusters built by NewServiceCluster configure neither TCP keepalive nor HTTP/2 connection_keepalive, so a request already delivered to an endpoint whose netns/veth then disappears gets no RST and hangs until the 15 s route timeout — observed on kind as 4 × 504 at 15.00 s when a run fell back to h2. Since QUIC is unconditional the h2 path only carries waypointed (cross-cluster) and GAMMA weighted-split traffic, so exposure is small.

Likely fix: Http2ProtocolOptions.connection_keepalive (interval + timeout) on NewServiceCluster, with its own kind leg (an h2-only source through a weighted GAMMA split) and the same never-replay guarantee. Also fix the comment on NewServiceCluster claiming close_connections_on_host_health_failure fires "incl. the EDS drain mark" — it fires only on active health-check failure or outlier ejection (cluster_manager_impl.cc:971-988 at the pinned Envoy).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions