Skip to content

Add a lock_cluster command ? #71

Closed
@clintongormley

Description

@clintongormley

Just an idea, how about being able to lock the cluster to prevent writes and or reads.

For instance, when the cluster is starting up and restoring from the gateway, it may take a few seconds to load all of the data. It'd be nice to say:

lock the cluster until cluster_health is green

Also, when changing a mapping, (thus forcing a reindex), we could do something like:

  • generate new index
  • lock cluster
  • rename the indices
  • flush index
  • unlock cluster when cluster_health is green

ta

clint

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