-
Notifications
You must be signed in to change notification settings - Fork 973
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(store/sync): avoid syncing files (#3693)
We don't need manual FS syncs. The underlying FS decides when to flush its internal buffers. If the FS fails to write to disk after we finish writing to it, it's a bug on the FS side. Also, during historical block sync, manually syncing files per every block to FS will apply a performance penalty for no good reason. Also, after #3679, files become immutable, meaning we can safely do delayed writes in FS by avoiding `Sync`
- Loading branch information
Showing
2 changed files
with
1 addition
and
11 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
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