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

[BUG] OpenSearchMergePolicy should not allow segment merge if enough amount of space is not available for the segment merge to go through #5711

Open
RS146BIJAY opened this issue Jan 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working distributed framework

Comments

@RS146BIJAY
Copy link
Contributor

Describe the bug
Currently, OpenSearch allows segment merge to go through even though not enough amount of space is available. This can cause available space on the node to drop below flood stage mark (even though OpenSearch has applied blocks on cluster), even causing available space on the node to reach to 0. This can cause FSHealthService checks to fail for this node, ultimately causing these nodes to be removed from cluster.

Expected behavior
OpenSearchMergePolicy should not allow segment merge if enough amount of space is not available for the segment merge to go through

@anasalkouz
Copy link
Member

Hi @RS146BIJAY, thanks for reporting the issue, I am surprised that this validation is not there. Seems to me as a basic validation for the segment merge process. Are you actively working on this?

@RS146BIJAY
Copy link
Contributor Author

RS146BIJAY commented Jan 11, 2023

@anasalkouz Yes we are actively working on all this issue (all included under the parent META issue)

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

No branches or pull requests

3 participants