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

Skip to content

Commit fa555d8

Browse files
committed
change the default flush from 20000 to 5000
1 parent 5a4c1e4 commit fa555d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/reference/index-modules/translog.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar: reference_index_modules
88
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:
99

1010
|_. Setting |_. Description |
11-
|index.translog.flush_threshold_ops|After how many operations to flush. Defaults to @20000@.|
11+
|index.translog.flush_threshold_ops|After how many operations to flush. Defaults to @5000@.|
1212
|index.translog.flush_threshold_size|Once the translog hits this size, a flush will happen. Defaults to @500mb@.|
1313
|index.translog.flush_threshold_period|The period with no flush happening to force a flush. Defaults to @60m@.|
1414

0 commit comments

Comments
 (0)