Skip to content

[9.3] Ensure initial state discovery does not block indefinitely on startup (#139467)#139785

Merged
elasticsearchmachine merged 1 commit intoelastic:9.3from
rjernst:backport/9.3/pr-139467
Dec 18, 2025
Merged

[9.3] Ensure initial state discovery does not block indefinitely on startup (#139467)#139785
elasticsearchmachine merged 1 commit intoelastic:9.3from
rjernst:backport/9.3/pr-139467

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Dec 18, 2025

Backports the following commits to 9.3:

…elastic#139467)

If a node receives a SIGTERM while it is starting up, it should shutdown
immediately. Yet while waiting for initial cluster state the main thread
may be blocked. This commit adds a hook to shutdown so that initial
state discovery is unblocked once a shutdown is begun.
@rjernst rjernst requested a review from a team as a code owner December 18, 2025 22:16
@rjernst rjernst added :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Dec 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit bd28cca into elastic:9.3 Dec 18, 2025
35 checks passed
@rjernst rjernst deleted the backport/9.3/pr-139467 branch December 18, 2025 23:25
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 >bug :Core/Infra/Node Lifecycle Node startup, bootstrapping, and shutdown Team:Core/Infra Meta label for core/infra team v9.3.1

2 participants