forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speedup writing TranslogHeader (elastic#95790)
We were doing single byte writes to the translog output channel via the output stream wrapper. This is very slow since there's no buffering involved here. -> just build the header that is of known size anyway up front and write it in one go.
- Loading branch information
1 parent
bedaf3c
commit f951ed2
Showing
1 changed file
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters