From abe26a7f2ebcb7360547bf801d871626b08d240d Mon Sep 17 00:00:00 2001 From: fjy Date: Mon, 2 Jun 2014 12:48:57 -0700 Subject: [PATCH] change default merge size to 500mb instead of 1g --- docs/content/Coordinator-Config.md | 2 +- .../io/druid/server/coordinator/CoordinatorDynamicConfig.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/Coordinator-Config.md b/docs/content/Coordinator-Config.md index 117eac6bf0..1221b043f6 100644 --- a/docs/content/Coordinator-Config.md +++ b/docs/content/Coordinator-Config.md @@ -52,7 +52,7 @@ Issuing a GET request at the same URL will return the spec that is currently in |Property|Description|Default| |--------|-----------|-------| |`millisToWaitBeforeDeleting`|How long does the coordinator need to be active before it can start deleting segments.|90000 (15 mins)| -|`mergeBytesLimit`|The maximum number of bytes to merge (for segments).|100000000L| +|`mergeBytesLimit`|The maximum number of bytes to merge (for segments).|524288000L| |`mergeSegmentsLimit`|The maximum number of segments that can be in a single [merge task](Tasks.html).|100| |`maxSegmentsToMove`|The maximum number of segments that can be moved at any given time.|5| |`replicantLifetime`|The maximum number of coordinator runs for a segment to be replicated before we start alerting.|15| diff --git a/server/src/main/java/io/druid/server/coordinator/CoordinatorDynamicConfig.java b/server/src/main/java/io/druid/server/coordinator/CoordinatorDynamicConfig.java index ae591790ba..39f6be2ff0 100644 --- a/server/src/main/java/io/druid/server/coordinator/CoordinatorDynamicConfig.java +++ b/server/src/main/java/io/druid/server/coordinator/CoordinatorDynamicConfig.java @@ -120,7 +120,7 @@ public class CoordinatorDynamicConfig public Builder() { - this(15 * 60 * 1000L, 100000000L, 100, 5, 15, 10, 1, false); + this(15 * 60 * 1000L, 524288000L, 100, 5, 15, 10, 1, false); } private Builder( -- GitLab