Skip to content

Add warning for read-write indices in force merge documentation #28843

@ppf2

Description

@ppf2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>docsGeneral docs changes

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions