-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
core: Don't let nodes from one cluster interfere with another #15801
Milestone
Comments
This was referenced May 9, 2017
This was referenced Aug 31, 2017
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Nov 20, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Nov 20, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Nov 22, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Nov 27, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Nov 30, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Dec 4, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
solongordon
added a commit
to solongordon/cockroach
that referenced
this issue
Dec 4, 2017
In the heartbeat, nodes now share their cluster IDs and check that they match. We allow for missing cluster IDs, since new nodes do not have a cluster ID until they obtain one via gossip, but conflicting IDs will result in a heartbeat error. In addition, connections are now not added to the connection pool until the heartbeat succeeds. This allows us to fail fast when a node attempts to join the wrong cluster. Fixes cockroachdb#15801. Fixes cockroachdb#15898. Refers cockroachdb#18058.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We do a good job in the gossip layer of not letting nodes from one cluster join another, but not at any other layers of the stack. If one of the clusters, cluster X, used to have at least one node at the address of one of the nodes in cluster Y, then bad things can happen because the nodes in X will talk to that address in ways that can mess with cluster Y. One instance of this problem was seen in / explained by my comment on #15591 (comment):
We can wait and see whether or not anyone else runs into something like this for the sake of prioritizing it, since I don't think it's likely to be common, but it will be pretty confusing for anyone that it does happen to.
The text was updated successfully, but these errors were encountered: