mirror of https://github.com/apache/druid.git
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:
parent
9bece8ce1e
commit
aa4987b871
|
@ -33,7 +33,7 @@ public class DataSourceCompactionConfig
|
|||
{
|
||||
// should be synchronized with Tasks.DEFAULT_MERGE_TASK_PRIORITY
|
||||
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 Period DEFAULT_SKIP_OFFSET_FROM_LATEST = new Period("P1D");
|
||||
|
||||
|
|
Loading…
Reference in New Issue