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

This commit is contained in:
anastas 2017-05-21 12:27:57 +03:00
parent 8b70d043e4
commit 1520c8fd4d
1 changed files with 1 additions and 1 deletions

View File

@ -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