cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Pittier (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3263) Whitespace in SimpleSeedProvider string makes seed ignored
Date Tue, 04 Oct 2011 13:21:34 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jordan Pittier updated CASSANDRA-3263:
--------------------------------------

    Comment: was deleted

(was: trim() removes only leading and trailing whitespaces.

I would go for host.replace(" ", "") instead. )
    
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3263
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message