-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Add warning for read-write indices in force merge documentation #28843
Comments
I'd be happy to give this a shot if no one else has claimed it |
go for it @mueedc , looking forward to your PR ;) |
Pinging @elastic/es-core-infra |
I know this is an old:ish issue, but the warning text merged seems misleading, at least to relatively inexperienced users like myself. I immediately assumed that I should set It was explained to me on twitter that the actual meaning is that there should be no concurrent writes, not that the index should be set to read-only. Please consider if the warning can be rewritten to be clearer. Thank you. |
I just did the same thing. |
Running force merge against a read-write index (an index that can still have read/write activity post force-merge) can cause very large segments to be produced (>5Gb per segment), and the merge policy will never consider it for merging again until it has 75% of deleted docs. This can cause very large segments to remain in the shards.
This is not currently documented (https://www.elastic.co/guide/en/elasticsearch/reference/6.2/indices-forcemerge.html). Would like to see a warning message added to the above page to specify force merge as an API call to use only against read-only indices.
The text was updated successfully, but these errors were encountered: