Update translog.asciidoc

Documented `index.gateway.local.sync`
This commit is contained in:
Clinton Gormley 2014-07-31 14:06:06 +02:00
parent 36e1c7928c
commit 4b0a89d4fb
1 changed files with 17 additions and 11 deletions

View File

@ -7,21 +7,27 @@ applied atomically, while not "committing" the internal Lucene index for
each request. A flush ("commit") still happens based on several each request. A flush ("commit") still happens based on several
parameters: parameters:
[cols="<,<",options="header",] `index.translog.flush_threshold_ops`::
|=======================================================================
|Setting |Description
|index.translog.flush_threshold_ops |After how many operations to flush.
Defaults to `unlimited`.
|index.translog.flush_threshold_size |Once the translog hits this size, After how many operations to flush. Defaults to `unlimited`.
a flush will happen. Defaults to `200mb`.
|index.translog.flush_threshold_period |The period with no flush `index.translog.flush_threshold_size`::
happening to force a flush. Defaults to `30m`.
|index.translog.interval |How often to check if a flush is needed, randomized Once the translog hits this size, a flush will happen. Defaults to `200mb`.
`index.translog.flush_threshold_period`::
The period with no flush happening to force a flush. Defaults to `30m`.
`index.translog.interval`::
How often to check if a flush is needed, randomized
between the interval value and 2x the interval value. Defaults to `5s`. between the interval value and 2x the interval value. Defaults to `5s`.
|=======================================================================
`index.gateway.local.sync`::
How often the translog is ++fsync++ed to disk. Defaults to `5s`.
Note: these parameters can be updated at runtime using the Index Note: these parameters can be updated at runtime using the Index
Settings Update API (for example, these number can be increased when Settings Update API (for example, these number can be increased when