change default merge size to 500mb instead of 1g

This commit is contained in:
fjy 2014-06-02 12:48:57 -07:00
parent 1407b49da1
commit abe26a7f2e
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Issuing a GET request at the same URL will return the spec that is currently in
|Property|Description|Default| |Property|Description|Default|
|--------|-----------|-------| |--------|-----------|-------|
|`millisToWaitBeforeDeleting`|How long does the coordinator need to be active before it can start deleting segments.|90000 (15 mins)| |`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| |`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| |`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| |`replicantLifetime`|The maximum number of coordinator runs for a segment to be replicated before we start alerting.|15|

View File

@ -120,7 +120,7 @@ public class CoordinatorDynamicConfig
public Builder() 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( private Builder(