Skip to content

Configure 0 replicas for system indexes for single-node clusters #1900

@AWSHurneyt

Description

@AWSHurneyt

Currently, .opendistro-alerting-alert-history indexes always have 1 replica shard, even for single-node domains. This causes those domains to always be yellow.

Consider adjusting the sharding strategy for all system indexes to align with the per document monitor queries indexes such that SETTING_AUTO_EXPAND_REPLICAS would be set to 0-1.
https://github.com/opensearch-project/alerting/pull/1702/files#diff-e7296dbf89637cdb1421bf2be399a263f94b49f0a1280e2e75ef755deeafe075R135

Pros

  • This would allow single-node clusters to become green.

Cons

  • No replicas would be available for single-node clusters in situations when primary shards are lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions