You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by an...@apache.org on 2017/05/21 09:28:08 UTC

hbase git commit: HBASE-18056 Make the default behavior of CompactionPipeline to merge it segments into one, due to better read performance in this case

Repository: hbase
Updated Branches:
  refs/heads/master 8b70d043e -> 1520c8fd4


HBASE-18056 Make the default behavior of CompactionPipeline to merge it segments into one, due to better read performance in this case


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

Branch: refs/heads/master
Commit: 1520c8fd4dd70206ab1abdf3eed81d6dc302990b
Parents: 8b70d04
Author: anastas <an...@yahoo-inc.com>
Authored: Sun May 21 12:27:57 2017 +0300
Committer: anastas <an...@yahoo-inc.com>
Committed: Sun May 21 12:27:57 2017 +0300

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1520c8fd/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java
index 0d3f47e..08af7fe 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.java
@@ -50,7 +50,7 @@ public class MemStoreCompactor {
   public static final String COMPACTING_MEMSTORE_THRESHOLD_KEY =
       "hbase.hregion.compacting.pipeline.segments.limit";
   // remaining with the same ("infinity") but configurable default for now
-  public static final int COMPACTING_MEMSTORE_THRESHOLD_DEFAULT = 30;
+  public static final int COMPACTING_MEMSTORE_THRESHOLD_DEFAULT = 1;
 
   public static final long DEEP_OVERHEAD = ClassSize
       .align(ClassSize.OBJECT