cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [1/6] git commit: fix addCallback for XDC requests too
Date Fri, 04 Oct 2013 03:08:13 GMT
Updated Branches:
  refs/heads/cassandra-1.2 92b3622dc -> 6025ba85b
  refs/heads/cassandra-2.0 7d8a56df3 -> ff7d341ef
  refs/heads/trunk 9b06e48bb -> 188a8b36e


fix addCallback for XDC requests too


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

Branch: refs/heads/cassandra-1.2
Commit: 6025ba85b3b092bb46f4242961ea69761c1ab93e
Parents: 92b3622
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Thu Oct 3 22:06:20 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Oct 3 22:06:20 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/StorageProxy.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/6025ba85/src/java/org/apache/cassandra/service/StorageProxy.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StorageProxy.java b/src/java/org/apache/cassandra/service/StorageProxy.java
index 9b559e5..f925fa7 100644
--- a/src/java/org/apache/cassandra/service/StorageProxy.java
+++ b/src/java/org/apache/cassandra/service/StorageProxy.java
@@ -659,7 +659,7 @@ public class StorageProxy implements StorageProxyMBean
         {
             InetAddress destination = iter.next();
             CompactEndpointSerializationHelper.serialize(destination, dos);
-            String id = MessagingService.instance().addCallback(handler, message, destination,
message.getTimeout());
+            String id = MessagingService.instance().addCallback(handler, message, destination,
message.getTimeout(), handler.consistencyLevel);
             dos.writeUTF(id);
         }
         message = message.withParameter(RowMutation.FORWARD_TO, bos.toByteArray());


Mime
View raw message