cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1178529 - in /cassandra/branches/cassandra-1.0.0: CHANGES.txt src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
Date Mon, 03 Oct 2011 19:35:07 GMT
Author: jbellis
Date: Mon Oct  3 19:35:06 2011
New Revision: 1178529

URL: http://svn.apache.org/viewvc?rev=1178529&view=rev
Log:
tolerate whitespace in seed CDL
patch by Marcus Eriksson; reviewed by jbellis for CASSANDRA-3263

Modified:
    cassandra/branches/cassandra-1.0.0/CHANGES.txt
    cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java

Modified: cassandra/branches/cassandra-1.0.0/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/CHANGES.txt?rev=1178529&r1=1178528&r2=1178529&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0.0/CHANGES.txt (original)
+++ cassandra/branches/cassandra-1.0.0/CHANGES.txt Mon Oct  3 19:35:06 2011
@@ -4,6 +4,8 @@
  * fix bug preventing obsolete commitlog segments from being removed
    (CASSANDRA-3269)
  * Evict gossip state immediately when a token is taken over by a new IP (CASSANDRA-3259)
+ * tolerate whitespace in seed CDL (CASSANDRA-3263)
+
 
 1.0.0-rc2
  * Log a meaningful warning when a node receives a message for a repair session

Modified: cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java?rev=1178529&r1=1178528&r2=1178529&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
(original)
+++ cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
Mon Oct  3 19:35:06 2011
@@ -43,7 +43,7 @@ public class SimpleSeedProvider implemen
         {
             try
             {
-                seeds.add(InetAddress.getByName(host));
+                seeds.add(InetAddress.getByName(host.trim()));
             }
             catch (UnknownHostException ex)
             {



Mime
View raw message