-
Notifications
You must be signed in to change notification settings - Fork 82
[FEATURE] Documentation confirming version compatibility of cross cluster replication during leader/follower versions #1608
Description
Is your feature request related to a problem?
A clear and concise description of what the problem is, e.g. I'm always frustrated when [...]
I could not find any documentation under https://docs.opensearch.org/latest/tuning-your-cluster/replication-plugin/index/ or https://docs.opensearch.org/latest/migrate-or-upgrade/rolling-upgrade/ about version compatibility for cross cluster replication between Leaders and Followers. I can see from https://docs.aws.amazon.com/opensearch-service/latest/developerguide/replication.html there is some mention of upgrading Follower clusters first, but based on my observation -
- Creating new replications returns a validation error when the Leader cluster is higher than the Follower, for example -
Leader index[leader_index2] is on higher version [3.2.0] than follower [2.19.3] - Existing replication work fine regardless of the order of upgrading the Leader/Follower clusters. I even tried upgrading the Leader cluster first to
3.2.0and the replication continued to work without a hitch. So that point on the AWS docs don't seem to be entirely accurate based on how CCR currently works. I assume the reason this works is because the lucene version for the leader and follower indices are the same.
What solution would you like?
A clear and concise description of what you want to happen.
It would be good to get confirmation that upgrading Leader/Follower clusters, regardless of the order, does not interrupt existing replications by design.
It would also be good to document the expected compatibility and reliability information on https://docs.opensearch.org/latest/tuning-your-cluster/replication-plugin/index/ and/or https://docs.opensearch.org/latest/migrate-or-upgrade/rolling-upgrade/ as it would provide essential information for those using cross cluster replication on how to plan their upgrades.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
None.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
None.