Skip to content

Commit 6da3765

Browse files
kosabogiszabosteve
andauthored
#101472 Updates default index.translog.flush_threshold_size value (#112052)
* #101472 Updates default index.translog.flush_threshold_size value * Update docs/reference/index-modules/translog.asciidoc Co-authored-by: István Zoltán Szabó <[email protected]> * Updates the description --------- Co-authored-by: István Zoltán Szabó <[email protected]>
1 parent 02859ba commit 6da3765

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/reference/index-modules/translog.asciidoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ An {es} <<indices-flush,flush>> is the process of performing a Lucene commit and
1919
starting a new translog generation. Flushes are performed automatically in the
2020
background in order to make sure the translog does not grow too large, which
2121
would make replaying its operations take a considerable amount of time during
22-
recovery. The ability to perform a flush manually is also exposed through an
22+
recovery. The translog size will never exceed `1%` of the disk size.
23+
The ability to perform a flush manually is also exposed through an
2324
API, although this is rarely needed.
2425

2526
[discrete]
@@ -71,7 +72,8 @@ update, or bulk request. This setting accepts the following parameters:
7172
The translog stores all operations that are not yet safely persisted in Lucene
7273
(i.e., are not part of a Lucene commit point). Although these operations are
7374
available for reads, they will need to be replayed if the shard was stopped
74-
and had to be recovered. This setting controls the maximum total size of these
75-
operations, to prevent recoveries from taking too long. Once the maximum size
76-
has been reached a flush will happen, generating a new Lucene commit point.
77-
Defaults to `512mb`.
75+
and had to be recovered.
76+
This setting controls the maximum total size of these operations to prevent
77+
recoveries from taking too long. Once the maximum size has been reached, a flush
78+
will happen, generating a new Lucene commit point. Defaults to `10 GB`.
79+

0 commit comments

Comments
 (0)