-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Segment Replication] Prioritize replica shard movement during shard relocation #8265
Comments
There is an existing cluster level setting for prioritizing primary shard movement.
In order to introduce replica first movement of shards, these are the approaches we can take:
With the previous setting we have 2 options:
Regardless of approach:
|
After further investigation, it's not possible to keep the We are still deprecating the If If |
Additions:
|
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
The text was updated successfully, but these errors were encountered: