Skip to content

Allow more control of index.merge.policy.deletes_pct_allowed #77270

Closed
@n0othing

Description

@n0othing

Today, the default merge policy allows you to control the maximum percentage of deleted documents that is tolerated in an index via index.merge.policy.deletes_pct_allowed. This value defaults to 33% and allows users to configure anywhere between 20% - 50%.

The 20% floor is in place to avoid overwhelming nodes with excessive CPU usage and disk I/O. However, at scale, this 20% could translate to TBs of wasted space. Some users may have really performant hardware and be ok with trading extra CPU/disk I/O in exchange for more free disk space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.>enhancementTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions