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

gossip: consider enforcing that no more than two CockroachDB binary versions are active in a cluster at once #10212

Closed
a-robinson opened this issue Oct 25, 2016 · 1 comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone

Comments

@a-robinson
Copy link
Contributor

In planning cluster upgrade hooks (#9404), we take it as an assumption that clusters shouldn't be running more than two different binary versions at once, since that would imply that two different upgrades were happening at once. This isn't strictly required for anything at the moment, but is a good practice to follow and is something that we could perhaps automatically enforce for users' safety.

@tamird suggested using a mechanism along the lines of our approach to managing SQL schema leases to prevent letting nodes start join a cluster with a third version.

@petermattis petermattis changed the title Consider enforcing that no more than two CockroachDB binary versions are active in a cluster at once gossip: consider enforcing that no more than two CockroachDB binary versions are active in a cluster at once Feb 23, 2017
@petermattis petermattis added this to the 1.0 milestone Feb 23, 2017
@spencerkimball spencerkimball modified the milestones: Later, 1.0 Apr 4, 2017
@spencerkimball spencerkimball added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Apr 4, 2017
@bdarnell
Copy link
Contributor

We now validate cluster versions when nodes connect to each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

4 participants