accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject git commit: ACCUMULO-1481 ACCUMULO-1823 fixed bug w/ major compaction
Date Tue, 29 Oct 2013 03:10:30 GMT
Updated Branches:
  refs/heads/master 9a2041d56 -> 7200e43a6


ACCUMULO-1481 ACCUMULO-1823 fixed bug w/ major compaction


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

Branch: refs/heads/master
Commit: 7200e43a610694d2a9652d3d603bafc86e4395da
Parents: 9a2041d
Author: Keith Turner <kturner@apache.org>
Authored: Mon Oct 28 23:10:17 2013 -0400
Committer: Keith Turner <kturner@apache.org>
Committed: Mon Oct 28 23:10:17 2013 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/tabletserver/Tablet.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/7200e43a/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java b/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
index 72c78c3..ca0df8d 100644
--- a/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
+++ b/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
@@ -3179,7 +3179,7 @@ public class Tablet {
       droppedFiles.addAll(inputFiles);
       if (plan != null)
         droppedFiles.addAll(plan.deleteFiles);
-      propogateDeletes = droppedFiles.equals(allFiles.keySet());
+      propogateDeletes = !(droppedFiles.equals(allFiles.keySet()));
       log.debug("Major compaction plan: " + plan + " propogate deletes : " + propogateDeletes);
       filesToCompact = new HashMap<FileRef,DataFileValue>(allFiles);
       filesToCompact.keySet().retainAll(inputFiles);


Mime
View raw message