-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 ways to force-merge down to 1 segment #31742
Labels
blocker
>bug
:Distributed Indexing/Engine
Anything around managing Lucene and the Translog in an open shard.
v6.5.0
Comments
jpountz
added
>bug
blocker
discuss
:Distributed Indexing/Engine
Anything around managing Lucene and the Translog in an open shard.
v6.5.0
labels
Jul 2, 2018
Pinging @elastic/es-distributed |
This was discussed in the Search team and in Fixit Friday.
|
@jpountz can you comment on if you think this is still a blocker for the 6.x series? it seems like either the blocker label is incorrect, or, the 6.6 label |
Thanks @pcsanwald, this issue is no longer relevant indeed, it was addressed via #32291. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocker
>bug
:Distributed Indexing/Engine
Anything around managing Lucene and the Translog in an open shard.
v6.5.0
Lucene just added a change to the TieredMergePolicy (default merge policy) which prevents it from force-merging indices down to 1 segment if this wouldn't meet the requirement that all segments must be less than the maximum segment size, 5GB by default. For instance if you have a 23GB shard and force-merge it down to 1 segment, you would en up with something like 5 or 6 segments.
There has been feedback that the ability to force-merge to 1 segment is important for time-series data, so we discussed several ideas:
index.merge.policy.max_merged_segment
), and tell users that if they actually want to merge down to 1 segment then they first need to update that setting. Maybe we could try to detect when an index becomes read-only and automatically update that setting.In any case there is still the option to implement the first option in 6.x and only introduce the change in master so that the break is introduced in a major release.
The text was updated successfully, but these errors were encountered: