Skip to content

[Segment Replication] Prioritize replica shard movement during shard relocation #8265

@Poojita-Raj

Description

@Poojita-Raj

Is your feature request related to a problem? Please describe.
When some node or set of nodes is excluded, the shards are moved away in random order. When segment replication is enabled for a cluster, we might end up in a mixed version state where replicas will be on lower version and unable to read segments sent from higher version primaries and fail.

To avoid this, we could prioritize replica shard movement to avoid entering this situation.

Describe the solution you'd like
Prioritize replica shard movement (when segment replication is enabled) and entering a mixed version state.

Reference: #1445

Parent issue: #3881

Metadata

Metadata

Assignees

Labels

Indexing:ReplicationIssues and PRs related to core replication framework eg segrepdistributed frameworkenhancementEnhancement or improvement to existing feature or requestv2.10.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions