change default compaction task target size from 800MB to 400MB to fall within range of what docs recommend for segment sizing (#5930)

This commit is contained in:
Clint Wylie 2018-07-05 00:12:31 -07:00 committed by Gian Merlino
parent 9bece8ce1e
commit aa4987b871
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class DataSourceCompactionConfig
{ {
// should be synchronized with Tasks.DEFAULT_MERGE_TASK_PRIORITY // should be synchronized with Tasks.DEFAULT_MERGE_TASK_PRIORITY
private static final int DEFAULT_COMPACTION_TASK_PRIORITY = 25; private static final int DEFAULT_COMPACTION_TASK_PRIORITY = 25;
private static final long DEFAULT_TARGET_COMPACTION_SIZE_BYTES = 800 * 1024 * 1024; // 800MB private static final long DEFAULT_TARGET_COMPACTION_SIZE_BYTES = 400 * 1024 * 1024; // 400MB
private static final int DEFAULT_NUM_TARGET_COMPACTION_SEGMENTS = 150; private static final int DEFAULT_NUM_TARGET_COMPACTION_SEGMENTS = 150;
private static final Period DEFAULT_SKIP_OFFSET_FROM_LATEST = new Period("P1D"); private static final Period DEFAULT_SKIP_OFFSET_FROM_LATEST = new Period("P1D");