Skip to content

[BUG] [Remote Cluster State] Auto restore from remote cluster state after quorum loss should recover index shards into GREEN state #9921

Closed
@linuxpi

Description

Describe the bug

  • After quorum loss recovery if the previous state is completely lost the cluster doesn't have any indices
  • But with remote store clusters, the index data exists in a remote repository
  • With Remote Cluster state, the IndexMetadata which is lost with cluster state is also available in remote repository
  • Today if cluster has remote cluster state and looses local disk state after quorum loss recovery, we auto restore the IndexMetadata from Remote Cluster State
  • This adds the index back to the cluster.
  • Today there is a bug where the index shards are in UNASSIGNED state when auto restored from Remote Cluster State

Expected behavior
After auto restore, index shards should be ASSIGNED and eventually started and index should be GREEN eventually

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions