diff --git a/db/version_set.cc b/db/version_set.cc index a07e7ec7bd4248..a5e0f77a6a9131 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -1017,6 +1017,9 @@ Status VersionSet::Recover(bool *save_manifest) { bool VersionSet::ReuseManifest(const std::string& dscname, const std::string& dscbase) { + if (!options_->reuse_logs) { + return false; + } FileType manifest_type; uint64_t manifest_number; uint64_t manifest_size;