From 45ad75db80f31a44900ed5705a2e7527e2f6c02f Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Wed, 12 Mar 2014 09:38:59 -0700 Subject: [PATCH] Correct version of D16821 --- db/db_impl.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index fd3369353..b36067e1d 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -1941,7 +1941,6 @@ void DBImpl::BackgroundCallFlush() { if (madeProgress || bg_schedule_needed_) { MaybeScheduleFlushOrCompaction(); } - log_buffer.FlushBufferToLog(); bg_cv_.SignalAll(); // IMPORTANT: there should be no code after calling SignalAll. This call may // signal the DB destructor that it's OK to proceed with destruction. In @@ -2026,7 +2025,6 @@ void DBImpl::BackgroundCallCompaction() { if (madeProgress || bg_schedule_needed_) { MaybeScheduleFlushOrCompaction(); } - log_buffer.FlushBufferToLog(); bg_cv_.SignalAll(); // IMPORTANT: there should be no code after calling SignalAll. This call may // signal the DB destructor that it's OK to proceed with destruction. In