Skip to content

Switch gossip mode when dc and rack are specified #118

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

Closed
wants to merge 1 commit into from
Closed

Switch gossip mode when dc and rack are specified #118

wants to merge 1 commit into from

Conversation

nm777
Copy link

@nm777 nm777 commented Oct 4, 2017

When CASSANDRA_DC or CASSANDRA_RACK are specified, the gossip mode
must also be changed to GossipingPropertyFileSnitch. It is a common
error for people to miss this step and be confused by the results.
This patch automatically makes this change for the user if the
environment variable CASSANDRA_ENDPOINT_SNITCH is not set (i.e. if
it is left at it's default value of SimpleSnitch).

Fixes #57

When CASSANDRA_DC or CASSANDRA_RACK are specified, the gossip mode
must also be changed to GossipingPropertyFileSnitch. It is a common
error for people to miss this step and be confused by the results.
This patch automatically makes this change for the user if the
environment variable CASSANDRA_ENDPOINT_SNITCH is not set (i.e. if
it is left at it's default value of SimpleSnitch).

Fixes #57
@yosifkit
Copy link
Member

yosifkit commented Oct 4, 2017

I think this is really a documentation issue, since a user would have the same problem if they provided the cassandra-rackdc.properties file directly.

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.

3 participants