Skip to content

Commit 9af3ba3

Browse files
committed
2 parents b8ee891 + 7c9cb59 commit 9af3ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/src/logs/batch_log_record_processor.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ bool BatchLogRecordProcessor::ForceFlush(std::chrono::microseconds timeout) noex
135135
if (synchronization_data_->force_flush_pending_sequence.load(std::memory_order_acquire) >
136136
synchronization_data_->force_flush_notified_sequence.load(std::memory_order_acquire))
137137
{
138+
synchronization_data_->is_force_wakeup_background_worker.store(true, std::memory_order_release);
138139
synchronization_data_->cv.notify_all();
139140
}
140141

0 commit comments

Comments
 (0)