[Segment Replication] Handle failover in mixed cluster mode #9027
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
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
The text was updated successfully, but these errors were encountered: