From 61730186dfbdabb97949ae9bbb8a3642d968850b Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Fri, 7 Apr 2017 16:58:07 -0700 Subject: [PATCH] dummy diff Summary: Closes https://github.com/facebook/rocksdb/pull/2114 Differential Revision: D4854860 Pulled By: IslamAbdelRahman fbshipit-source-id: b871c5b9ccc52d20f5ceacdd172dc70b1dbf9110 --- db/db_impl.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index c37626f36..efe875bc6 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -742,16 +742,16 @@ InternalIterator* DBImpl::NewInternalIterator( return NewInternalIterator(roptions, cfd, super_version, arena, range_del_agg); } - + void DBImpl::SchedulePurge() { mutex_.AssertHeld(); assert(opened_successfully_); - + // Purge operations are put into High priority queue bg_purge_scheduled_++; env_->Schedule(&DBImpl::BGWorkPurge, this, Env::Priority::HIGH, nullptr); -} - +} + void DBImpl::BackgroundCallPurge() { mutex_.Lock(); @@ -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->UnlockFile(lock); // Ignore error since state is already gone