Merge 10.5 into 10.6

This commit is contained in:
Marko Mäkelä 2021-04-01 10:00:46 +03:00
commit 609e8e38bb

View File

@ -4270,6 +4270,7 @@ void log_flush_notify(lsn_t flush_lsn)
if (auto pending= log_requests.start.load(std::memory_order_acquire))
{
mysql_mutex_lock(&log_requests.mutex);
pending= log_requests.start.load(std::memory_order_relaxed);
log_flush_notify_and_unlock(pending, flush_lsn);
}
}