Skip to content

Commit

Permalink
dummy diff
Browse files Browse the repository at this point in the history
Summary: Closes facebook#2114

Differential Revision: D4854860

Pulled By: IslamAbdelRahman

fbshipit-source-id: b871c5b9ccc52d20f5ceacdd172dc70b1dbf9110
  • Loading branch information
IslamAbdelRahman authored and facebook-github-bot committed Apr 8, 2017
1 parent 360e996 commit 6173018
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6173018

Please sign in to comment.