Descriptionleveldb: 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
Committed: https://crrev.com/62520d739a3b95426082fdf059aa262033e795d7
Cr-Commit-Position: refs/heads/master@{#321904}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Removed unnecessary "else". #
Messages
Total messages: 8 (3 generated)
|