mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user