OpenSearch/server
Nhat Nguyen 1970e01782
Add lower bound for translog flush threshold (#28382)
If the translog flush threshold is too small (eg. smaller than the
translog header), we may repeatedly flush even there is no uncommitted
operation because the shouldFlush condition can still be true after
flushing. This is currently avoided by adding an extra guard against the
uncommitted operations. However, this extra guard makes the shouldFlush
complicated. This commit replaces that extra guard by a lower bound for
translog flush threshold. We keep the lower bound small for convenience
in testing.

Relates #28350
Relates #23606
2018-02-01 13:51:53 -05:00
..
cli Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00
licenses Introduce secure security manager to project 2018-01-31 18:23:28 -05:00
src Add lower bound for translog flush threshold (#28382) 2018-02-01 13:51:53 -05:00
build.gradle Introduce secure security manager to project 2018-01-31 18:23:28 -05:00