leveldb: Env no longer implicitly syncs dir for all newly created files.
A while back ChromiumEnv was enhanced to sync a directory the first time a newly created file was written to. This was a speculative change added in an attempt to resolve database corruptions caused by missing files. Since no improvements were seen as a result of this change it is now being removed. Additionally leveldb's implicit contract for WritableFile::Sync() is that it shall sync the directory if that WritableFile is for a manifest - ChromiumEnv did not do that. BUG=417769 Review URL: https://codereview.chromium.org/1022983004 Cr-Commit-Position: refs/heads/master@{#321904}
Showing
Please register or sign in to comment