OpenSearch/server
Tim Brooks 64bbbaeef1
Do not block Translog add on file write (#63374)
Currently a TranslogWriter add operation is synchronized. This operation
adds the bytes to the file output stream buffer and issues a write
system call if the buffer is filled. This happens every 8KB which means
that we routinely block other add calls on system writes.

This commit modifies the add operation to simply place the operation in
an array list. The array list if flushed when the sync call occurs or
when 1MB is buffered.
2020-10-06 20:40:15 -06:00
..
licenses Upgrade to lucene- 8.7.0-snapshot-66c49a35402 (#63372) 2020-10-06 22:38:58 -04:00
src Do not block Translog add on file write (#63374) 2020-10-06 20:40:15 -06:00
build.gradle Search - add case insensitive support for regex queries. (#59441) (#61532) 2020-08-25 17:18:59 +01:00