Merge 10.5 into 10.6
This commit is contained in:
commit
609e8e38bb
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user