Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 288ad7d

Browse files
committed
update translog settings
1 parent 9659c1c commit 288ad7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

guide/reference/index-modules/translog.textile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ cat: guide
55
sidebar: reference_index_modules
66
---
77

8-
p. A shard is flushed to local disk based on number of operations accumulated in translog. It can be controled using the @index.translog.flush_threshold@ setting (defaults to @5000@).
8+
p. Each shard has a transaction log or write ahead log associated with it. It allows to guarantee that when an index/delete operation occurs, it is applied atomically, while not "committing" the internal lucene index for each request. A flush ("commit") still happens based on several parameters:
9+
10+
|_. Setting |_. Description |
11+
|index.translog.flush_threshold_ops|After how many operations to flush. Defaults to @20000@.|
12+
|index.translog.flush_threshold_size|Once the translog hits this size, a flush will happen. Defaults to @500mb@.|
13+
|index.translog.flush_threshold_period|The period with no flush happening to force a flush. Defaults to @60m@.|
14+

0 commit comments

Comments
 (0)