-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Closed
Copy link
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.>enhancementTeam:Distributed IndexingMeta label for Distributed Indexing teamMeta label for Distributed Indexing team
Description
We know that a force merge down to a single segment will be roughly a 2x cost of the current index size because it requires the old and new index co-exist on disk (briefly) before swapping over to the new index.
We should introduce a disk space check before attempting such a merge and return an error if the operation is estimated to tip us over the high watermark threshold for allocating shards to the current node.
This would save the heavy cost of attempting an impossible task and prevent the dangerous scenario of running out of disk space.
billhong-just, remd, naj-h, ravenjm, nothingrandom and 3 more
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.>enhancementTeam:Distributed IndexingMeta label for Distributed Indexing teamMeta label for Distributed Indexing team