Summary: Closes https://github.com/facebook/rocksdb/pull/2114

Differential Revision: D4854860

Pulled By: IslamAbdelRahman

fbshipit-source-id: b871c5b9ccc52d20f5ceacdd172dc70b1dbf9110
main
Islam AbdelRahman 8 years ago committed by Facebook Github Bot
parent 360e9960f8
commit 61730186df
  1. 2
      db/db_impl.cc

@ -2201,7 +2201,7 @@ Status DestroyDB(const std::string& dbname, const Options& options) {
} }
} }
// ignore case where no archival directory is present. // ignore case where no archival directory is present
env->DeleteDir(archivedir); env->DeleteDir(archivedir);
env->UnlockFile(lock); // Ignore error since state is already gone env->UnlockFile(lock); // Ignore error since state is already gone

Loading…
Cancel
Save