Skip to content

Provide a script or command to recover red cluster after data loss #12466

Closed
@ofir-petrushka

Description

@ofir-petrushka

Assuming a user can get into a red cluster after losing data, allow some easy way to accept the data loss and return the cluster into a working state.

Currently, it's done with some ugly scripts (or complete cluster destroy and rebuild) that take a long time and are sub-optimal like:
https://t37.net/how-to-fix-your-elasticsearch-cluster-stuck-in-initializing-shards-mode.html

Would be good if it's in an API that plugins like kopf, HQ etc will later allow one click fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions