disable data sync options needs to be checked when doing level-0 dump Summary:
Summary: as subject Test Plan: use db_bench Reviewers: dhruba Differential Revision: https://reviews.facebook.net/D4671
This commit is contained in:
parent
fe6119bd3a
commit
fcb2ea4715
|
@ -53,7 +53,7 @@ Status BuildTable(const std::string& dbname,
|
|||
delete builder;
|
||||
|
||||
// Finish and check for file errors
|
||||
if (s.ok()) {
|
||||
if (s.ok() && !options.disableDataSync) {
|
||||
s = file->Sync();
|
||||
}
|
||||
if (s.ok()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user