-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.feedback_needed
Description
Describe the feature:
Looking at the Shrink API, the target index consumes twice the amount of disk space as the source index due to unsearchable segments left behind by the API. It would be an easy win to free up disk space by executing a force merge with only_expunge_deletes=true after completing the shrink operation. Could these options be considered?
- Add a parameter to
_shrinkto trigger segment removal merged segments; i.e., call/_force_merge?only_expunge_deletes=true. - Document a clean up step to execute force merge with
only_expunge_deletes=true. - Both options above.
Elasticsearch version (bin/elasticsearch --version):
Version: 6.2.2, Build: 10b1edd/2018-02-16T19:01:30.685723Z, JVM: 1.8.0_51
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.feedback_needed