diff --git a/db/db_impl.cc b/db/db_impl.cc index 61f1074288d5e7e5331c9fc20106373f45b1fea3..a6ab4b3a1f642b4830f05820bea261170187ee08 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -3200,8 +3200,8 @@ Status DBImpl::Write(const WriteOptions& write_options, WriteBatch* my_batch) { status = ScheduleFlushes(&context); } - if (UNLIKELY(status.ok()) && - (write_controller_.IsStopped() || write_controller_.GetDelay() > 0)) { + if (UNLIKELY(status.ok() && (write_controller_.IsStopped() || + write_controller_.GetDelay() > 0))) { // If writer is stopped, we need to get it going, // so schedule flushes/compactions if (context.schedule_bg_work_) {