From aa4987b87101fd71a241f660041e5189b384e46b Mon Sep 17 00:00:00 2001 From: Clint Wylie Date: Thu, 5 Jul 2018 00:12:31 -0700 Subject: [PATCH] change default compaction task target size from 800MB to 400MB to fall within range of what docs recommend for segment sizing (#5930) --- .../io/druid/server/coordinator/DataSourceCompactionConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/server/coordinator/DataSourceCompactionConfig.java b/server/src/main/java/io/druid/server/coordinator/DataSourceCompactionConfig.java index d4adf415db2..e664323e292 100644 --- a/server/src/main/java/io/druid/server/coordinator/DataSourceCompactionConfig.java +++ b/server/src/main/java/io/druid/server/coordinator/DataSourceCompactionConfig.java @@ -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");