diff --git a/db/db_filesnapshot.cc b/db/db_filesnapshot.cc index 43e0065f6..5fd2af861 100644 --- a/db/db_filesnapshot.cc +++ b/db/db_filesnapshot.cc @@ -17,12 +17,14 @@ namespace leveldb { Status DBImpl::DisableFileDeletions() { MutexLock l(&mutex_); disable_delete_obsolete_files_ = true; + Log(options_.info_log, "File Deletions Disabled"); return Status::OK(); } Status DBImpl::EnableFileDeletions() { MutexLock l(&mutex_); disable_delete_obsolete_files_ = false; + Log(options_.info_log, "File Deletions Enabled"); return Status::OK(); }