adding a word about compact-min-files on the docs

This commit is contained in:
Clebert Suconic 2015-04-01 16:10:39 -04:00
parent a7a362b1d7
commit 48d002e19a
2 changed files with 6 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Name | Description
[jmx-management-enabled](management.md "30.2.1. Configuring JMX") | true means that the management API is available via JMX. Default=true [jmx-management-enabled](management.md "30.2.1. Configuring JMX") | true means that the management API is available via JMX. Default=true
[journal-buffer-size](persistence.md) | The size of the internal buffer on the journal in KB. Default=490 KiB [journal-buffer-size](persistence.md) | The size of the internal buffer on the journal in KB. Default=490 KiB
[journal-buffer-timeout](persistence.md) | The Flush timeout for the journal buffer [journal-buffer-timeout](persistence.md) | The Flush timeout for the journal buffer
[journal-compact-min-files](persistence.md) | The minimal number of data files before we can start compacting. Default=10 [journal-compact-min-files](persistence.md) | The minimal number of data files before we can start compacting. Setting this to 0 means compacting is disabled. Default=10
[journal-compact-percentage](persistence.md) | The percentage of live data on which we consider compacting the journal. Default=30 [journal-compact-percentage](persistence.md) | The percentage of live data on which we consider compacting the journal. Default=30
[journal-directory](persistence.md) | the directory to store the journal files in. Default=data/journal [journal-directory](persistence.md) | the directory to store the journal files in. Default=data/journal
[journal-file-size](persistence.md) | the size (in bytes) of each journal file. Default=10485760 (10 MB) [journal-file-size](persistence.md) | the size (in bytes) of each journal file. Default=10485760 (10 MB)

View File

@ -269,6 +269,11 @@ The message journal is configured using the following attributes in
journal. The compacting algorithm won't start until you have at journal. The compacting algorithm won't start until you have at
least `journal-compact-min-files` least `journal-compact-min-files`
Setting this to 0 will disable the feature to compact completely.
This could be dangerous though as the journal could grow indefinitely.
Use it wisely!
The default for this parameter is `10` The default for this parameter is `10`
- `journal-compact-percentage` - `journal-compact-percentage`