You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexey Zotov (JIRA)" <ji...@apache.org> on 2013/01/16 13:12:13 UTC

[jira] [Created] (CASSANDRA-5165) Need to trim DC and RACK names in cassandra-topology.properties file

Alexey Zotov created CASSANDRA-5165:
---------------------------------------

             Summary: Need to trim DC and RACK names in cassandra-topology.properties file
                 Key: CASSANDRA-5165
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5165
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.6
         Environment: cassandra-1.1.6 (DataStax distribution).
            Reporter: Alexey Zotov
            Assignee: Alexey Zotov
            Priority: Minor
         Attachments: cassandra-1.2-5165_trim_spaces.txt

Some misprints in cassandra-topology.properties file can be painful for debugging. For example extra symbols at the end of line like a space. So 
difference between "DC1:RACK1" and "DC1:RACK1 " couldn't be detected using nodetool ring command.

I think that symbols like a space shouldn't be allowed in DC/RACK names.  So I suggest to trim them.

The patch has been attached.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira