Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check shard activity before removing a node #5758

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

barkbay
Copy link
Contributor

@barkbay barkbay commented Jun 9, 2022

This PR is an attempt to solve #5713
During a node removal operation, it attempts to ensure that there is no pending shard activity before fetching the shards using _cat/shards.

Note that recent versions of Elasticsearch which are relying on the shutdown API should not be affected.

See also #3070 for more context.

@barkbay barkbay added >bug Something isn't working v2.4.0 labels Jun 9, 2022
@barkbay barkbay changed the title Check shard activity before shuting down a node Check shard activity before removing a node Jun 9, 2022
Copy link
Collaborator

@pebrc pebrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a few simple tests last week on a 7.14.0 test cluster and looked good to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v2.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants