hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject git commit: HBASE-12392 Incorrect implementation of CompactionRequest.isRetainDeleteMarkers(Jingcheng Du)
Date Fri, 31 Oct 2014 10:15:20 GMT
Repository: hbase
Updated Branches:
  refs/heads/HBASE-11339 3876bb764 -> 8a8b7de76


HBASE-12392 Incorrect implementation of
CompactionRequest.isRetainDeleteMarkers(Jingcheng Du)


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

Branch: refs/heads/HBASE-11339
Commit: 8a8b7de760a33c8195e287975d5b4a337d71b1fa
Parents: 3876bb7
Author: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
Authored: Fri Oct 31 15:43:58 2014 +0530
Committer: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
Committed: Fri Oct 31 15:43:58 2014 +0530

----------------------------------------------------------------------
 .../hadoop/hbase/regionserver/compactions/CompactionRequest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8a8b7de7/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
index 76085fa..01bf414 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java
@@ -216,7 +216,7 @@ public class CompactionRequest implements Comparable<CompactionRequest>
{
    */
   public boolean isRetainDeleteMarkers() {
     return (this.retainDeleteMarkers != null) ? this.retainDeleteMarkers.booleanValue()
-        : isAllFiles();
+        : !isAllFiles();
   }
 
   @Override


Mime
View raw message