[ 
https://issues.apache.org/jira/browse/CASSANDRA-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916102#comment-13916102
 ] 

Tyler Hobbs commented on CASSANDRA-5897:
----------------------------------------

bq. looks like git instruction on 
http://wiki.apache.org/cassandra/HowToContribute might be slightly off

You're right.  I'll get that fixed, thanks.

v3 is almost good to go, it just needs some minor cleanup on the test file:
* Remove unused imports
* The docstring for testBasic isn't really useful.  I would just delete it and 
name the method "testAutoReloadConfig" or something similar.
* You can shorten the reload period and sleep to 1 and 1.5 seconds, 
respectively.

Thanks!

> GossipingPropertyFileSnitch does not auto-reload local rack/dc
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-5897
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5897
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremy Hanna
>            Assignee: Daniel Shelepov
>             Fix For: 2.1
>
>         Attachments: trunk-5897-v2.txt, trunk-5897-v3.txt, trunk-5897.txt
>
>
> With the property file snitch, I can change the rack and dc of a node in 
> cassandra-topology.properties from DC1/RAC1 to DC2/RAC2 while the server is 
> running and that configuration is reloaded a short time later.
> With the gossiping property file snitch, I change the 
> cassandra-rackdc.properties when the server is running from DC1/RAC1 to 
> DC2/RAC2 while the server is running and it never reloads.  It requires a 
> restart.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to