Skip to content
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] Handle failover in mixed cluster mode #9027

Closed
Poojita-Raj opened this issue Aug 1, 2023 · 2 comments · Fixed by #9536
Closed

[Segment Replication] Handle failover in mixed cluster mode #9027

Poojita-Raj opened this issue Aug 1, 2023 · 2 comments · Fixed by #9536
Assignees
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Indexing:Replication Issues and PRs related to core replication framework eg segrep rolling-upgrade Issues related to rolling upgrades v2.10.0

Comments

@Poojita-Raj
Copy link
Contributor

Poojita-Raj commented Aug 1, 2023

Is your feature request related to a problem? Please describe.
In the event of failover for a segment replication enabled cluster, need to avoid a case where the replica with the highest opensearch version gets promoted to primary. If that happens, the replicas on older opensearch versions will not be able to read the segments sent by this primary.

Describe the solution you'd like
We want to ensure that the replica that's on the oldest opensearch version is promoted to primary in the event of a failover in a segment replication enabled cluster, which would take care of this problem in mixed version clusters.

Additional context
Created as follow up to #8265
Parent issue: #3881

@Poojita-Raj Poojita-Raj added enhancement Enhancement or improvement to existing feature or request rolling-upgrade Issues related to rolling upgrades distributed framework Indexing:Replication Issues and PRs related to core replication framework eg segrep labels Aug 1, 2023
@mch2
Copy link
Member

mch2 commented Aug 15, 2023

@Poojita-Raj by furthest ahead/behind do you mean OpenSearch version or segments?

@Poojita-Raj
Copy link
Contributor Author

Sorry for the confusion @mch2 - Furthest ahead/behind refers to OpenSearch version. Updated the description accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Indexing:Replication Issues and PRs related to core replication framework eg segrep rolling-upgrade Issues related to rolling upgrades v2.10.0
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants