cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [1/9] git commit: Fix snapshot repair not snapshotting coordinator
Date Mon, 17 Feb 2014 17:12:58 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-1.2 7937ee38f -> 6dfca3d32
  refs/heads/cassandra-2.0 44cf4a66d -> 4b50b2b2e
  refs/heads/cassandra-2.1 73dcdbdf2 -> c9a4bffee
  refs/heads/trunk 73dcdbdf2 -> c9a4bffee


Fix snapshot repair not snapshotting coordinator

patch by yukim; reviewed by sankalp kohli for CASSANDRA-6713


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

Branch: refs/heads/cassandra-1.2
Commit: 6dfca3d329e4be1c6d47a7791de0a349c164f2ad
Parents: 7937ee3
Author: Yuki Morishita <yukim@apache.org>
Authored: Mon Feb 17 11:08:59 2014 -0600
Committer: Yuki Morishita <yukim@apache.org>
Committed: Mon Feb 17 11:08:59 2014 -0600

----------------------------------------------------------------------
 CHANGES.txt                                                   | 1 +
 src/java/org/apache/cassandra/service/AntiEntropyService.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/6dfca3d3/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 964e10c..f146166 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,6 +9,7 @@
  * Use real node messaging versions for schema exchange decisions (CASSANDRA-6700)
  * IN on the last clustering columns + ORDER BY DESC yield no results (CASSANDRA-6701)
  * Fix SecondaryIndexManager#deleteFromIndexes() (CASSANDRA-6711)
+ * Fix snapshot repair not snapshotting coordinator itself (CASSANDRA-6713)
 
 
 1.2.15

http://git-wip-us.apache.org/repos/asf/cassandra/blob/6dfca3d3/src/java/org/apache/cassandra/service/AntiEntropyService.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/AntiEntropyService.java b/src/java/org/apache/cassandra/service/AntiEntropyService.java
index eafab67..f766303 100644
--- a/src/java/org/apache/cassandra/service/AntiEntropyService.java
+++ b/src/java/org/apache/cassandra/service/AntiEntropyService.java
@@ -849,7 +849,7 @@ public class AntiEntropyService
                 allEndpoints.add(FBUtilities.getBroadcastAddress());
 
                 if (isSequential)
-                    makeSnapshots(endpoints);
+                    makeSnapshots(allEndpoints);
 
                 for (InetAddress endpoint : allEndpoints)
                     treeRequests.add(new TreeRequest(getName(), endpoint, range, new CFPair(tablename,
cfname)));


Mime
View raw message