cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Fix SystemTableTest
Date Fri, 05 Oct 2012 12:54:20 GMT
Updated Branches:
  refs/heads/trunk 2a91a4818 -> b7716c76b


Fix SystemTableTest


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b7716c76
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b7716c76
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b7716c76

Branch: refs/heads/trunk
Commit: b7716c76b338ad8eea0a19822ec9ba99de1699b6
Parents: 2a91a48
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Fri Oct 5 14:54:12 2012 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Fri Oct 5 14:54:12 2012 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/SystemTable.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b7716c76/src/java/org/apache/cassandra/db/SystemTable.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/SystemTable.java b/src/java/org/apache/cassandra/db/SystemTable.java
index e2ff161..ff7d81a 100644
--- a/src/java/org/apache/cassandra/db/SystemTable.java
+++ b/src/java/org/apache/cassandra/db/SystemTable.java
@@ -238,7 +238,7 @@ public class SystemTable
                 continue;
 
             String req = "UPDATE system.%s SET tokens = tokens - %s WHERE peer = '%s'";
-            processInternal(String.format(req, PEERS_CF, serializeTokens(toRemove), entry.getKey()));
+            processInternal(String.format(req, PEERS_CF, serializeTokens(toRemove), entry.getKey().getHostAddress()));
         }
         forceBlockingFlush(PEERS_CF);
     }


Mime
View raw message