Commit 609e8e38 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.5 into 10.6

parents 1d41e9df 7f75acc0
...@@ -4270,6 +4270,7 @@ void log_flush_notify(lsn_t flush_lsn) ...@@ -4270,6 +4270,7 @@ void log_flush_notify(lsn_t flush_lsn)
if (auto pending= log_requests.start.load(std::memory_order_acquire)) if (auto pending= log_requests.start.load(std::memory_order_acquire))
{ {
mysql_mutex_lock(&log_requests.mutex); mysql_mutex_lock(&log_requests.mutex);
pending= log_requests.start.load(std::memory_order_relaxed);
log_flush_notify_and_unlock(pending, flush_lsn); log_flush_notify_and_unlock(pending, flush_lsn);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment