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

Adding merge delegate to prevent mixing clusters #580

Merged
merged 1 commit into from
Jan 6, 2015
Merged

Adding merge delegate to prevent mixing clusters #580

merged 1 commit into from
Jan 6, 2015

Conversation

armon
Copy link
Member

@armon armon commented Jan 6, 2015

Using the new Serf MergeDelegate support, Consul can prevent a join that would cause cluster merges to take place. On the LAN ring we ensure all the other nodes match our datacenter, and on the WAN ring all other nodes must be a server. This should solve most of the accidental join issues. It does not solve the problem of a client joining the WAN ring IF there is only a single datacenter, but does fix most other conditions. Fixes #260

armon added a commit that referenced this pull request Jan 6, 2015
Adding merge delegate to prevent mixing clusters
@armon armon merged commit 4192925 into master Jan 6, 2015
@armon armon deleted the f-merge branch January 6, 2015 23:51
duckhan pushed a commit to duckhan/consul that referenced this pull request Oct 24, 2021
duckhan pushed a commit to duckhan/consul that referenced this pull request Oct 24, 2021
…leted (hashicorp#580)

Endpoints controller may have stale cache for pod objects since it's only
watching the endpoints objects. As a result when we try to get a pod
from cache, it may be stale. For the case of deleting ACL tokens,
we can't tolerate stale cache reads since we need to know for sure
if the pod exists to determine if an ACL token for that pod should be deleted.
This commit changes it to instead use the pod info stored in the endpoints addresses
as TargetRef.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guard against serf clusters mixing
1 participant