From 8a8b7de760a33c8195e287975d5b4a337d71b1fa Mon Sep 17 00:00:00 2001 From: Ramkrishna Date: Fri, 31 Oct 2014 15:43:58 +0530 Subject: [PATCH] HBASE-12392 Incorrect implementation of CompactionRequest.isRetainDeleteMarkers(Jingcheng Du) --- .../hbase/regionserver/compactions/CompactionRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 76085faea7d..01bf414852b 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 { */ public boolean isRetainDeleteMarkers() { return (this.retainDeleteMarkers != null) ? this.retainDeleteMarkers.booleanValue() - : isAllFiles(); + : !isAllFiles(); } @Override