Skip to content

Conversation

@ldematte
Copy link
Contributor

Backports the following commits to 8.19:

Currently, the DiskThresholdMonitor code considers shutdown metadata to identify nodes that are being replaced. If the node-to-be-replaced (source) leaves the cluster before the corresponding shutdown metadata is removed from the cluster state, we can have a NPE. This PR adds a test for that and improves a bit code to handle node ids for source and target from shutdown metadata.

Fixes elastic#100201
@ldematte ldematte 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 May 23, 2025
@elasticsearchmachine elasticsearchmachine merged commit db8c62b into elastic:8.19 May 23, 2025
15 checks passed
@ldematte ldematte deleted the backport/8.19/pr-128298 branch May 23, 2025 13:59
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 v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants