Skip to content

Conversation

mhl-b
Copy link
Contributor

@mhl-b mhl-b commented Jan 8, 2025

Backport #119564

Add HTTP body stream activity tracker when chunk is buffered. Also catch all (Throwable) exceptions when running ChunkConsumer in the channel event-loop. Some exceptions, for example OOM graceful shutdown, can slip through and never terminate stream and channel, making it hanging indefinitely. This causes issues during shutdown.

@mhl-b mhl-b added :Distributed Coordination/Network Http and internode communication implementations backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:Distributed Coordination Meta label for Distributed Coordination team >non-issue labels Jan 8, 2025
@mhl-b mhl-b marked this pull request as ready for review January 8, 2025 04:55
@elasticsearchmachine elasticsearchmachine merged commit a9dac43 into elastic:8.x Jan 8, 2025
15 checks passed
@mhl-b mhl-b deleted the backport-119564 branch January 8, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed Coordination/Network Http and internode communication implementations >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants