-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Add mix-version testing for sending snaspshot cases #14807
Comments
Reference: cluster.go#L1343 |
@ahrtr Hi , I want to take this. While I've not seen the |
Thanks @halegreen for working on this.
A simpler & safer solution is to stop a member, play traffic and start it again. @ptabor @serathius any thoughts? |
hi, @ahrtr "stop a member, play traffic and start it again", I was wonder will this action always leads to a network partition ? |
It's accepted as long as a snapshot can be sent from the leader to the follower when the follower gets started again. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
What would you like to be added?
We already have mix-version (e.g, A cluster has both 3.5 node and 3.6 node) test, but do not cover the cases of sending snapshot. Specifically we need to cover the following two cases,
Note that etcd doesn't support adding a new member of old version into a cluster with higher version. For example, etcd cluster version is 3.6.x, then a new member of 3.5.x can't join the cluster. Please refer to cluster_util.go#L222-L230. So we can't implement case 2 by dynamically adding a node with older version, please refer to #14707. Instead, we can use network partition scenario to trigger snapshots.
Why is this needed?
We need to make sure there is no any issue when upgrading multi-node etcd cluster. Also refer to #14592
The text was updated successfully, but these errors were encountered: