cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goffi...@apache.org
Subject svn commit: r834152 - /incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java
Date Mon, 09 Nov 2009 17:26:33 GMT
Author: goffinet
Date: Mon Nov  9 17:26:30 2009
New Revision: 834152

URL: http://svn.apache.org/viewvc?rev=834152&view=rev
Log:
Use getHostAddress instead of toString(), Read Repair was throwing an Exception. Patch by
sammyyu, reviewed by jbellis for CASSANDRA-529

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java?rev=834152&r1=834151&r2=834152&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java
(original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/service/ReadRepairManager.java
Mon Nov  9 17:26:30 2009
@@ -114,7 +114,7 @@
         try
         {
             Message message = rowMutationMessage.makeRowMutationMessage(StorageService.readRepairVerbHandler_);
-    		String key = target + ":" + message.getMessageId();
+    		String key = target.getHostAddress() + ":" + message.getMessageId();
     		readRepairTable_.put(key, message);
         }
         catch ( IOException ex )



Mime
View raw message