cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Olsson (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-9474) DC/Rack property changed on live system
Date Mon, 25 May 2015 14:54:17 GMT
Marcus Olsson created CASSANDRA-9474:

             Summary: DC/Rack property changed on live system
                 Key: CASSANDRA-9474
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: Cassandra 2.1.5
            Reporter: Marcus Olsson

When using GossipingPropertyFileSnitch it is possible to change the data center and rack of
a live node by changing the file. Should this really be possible?
In the documentation at
it's stated that you should ??Choose the name carefully; renaming a data center is not possible??,
but with this functionality it doesn't seem impossible(maybe a bit hard with changing replication

This functionality was introduced by CASSANDRA-5897 so I'm guessing there is some use case
for this?

Personally I would want the DC/rack settings to be as restricted as the cluster name, otherwise
if a node could just join another data center without removing it's local information couldn't
it mess up the token ranges? And suddenly the old data center/rack would loose 1 replica of
all the data that the node contains.

This message was sent by Atlassian JIRA

View raw message