Commit graph

3 commits

Author SHA1 Message Date
Vladislav Vaintroub
d8b8258a53 MDEV-26789 log_write_up_to needs mechanism to prevent stalls of async. waiters
Retry write and/or flush, if group_commit_lock::release() indicates that
there are async waiters left, and there is no new group commit lead
2021-10-08 13:18:59 +02:00
Vladislav Vaintroub
4df0249b9a MDEV-24341 Innodb - do not block in foreground thread in log_write_up_to( 2021-02-14 18:30:39 +01:00
Vladislav Vaintroub
30ea63b7d2 MDEV-21534 - Improve innodb redo log group commit performance
Introduce special synchronization primitive  group_commit_lock
for more efficient synchronization of redo log writing and flushing.

The goal is to reduce CPU consumption on log_write_up_to, to reduce
the spurious wakeups, and improve the throughput in write-intensive
benchmarks.
2020-03-01 19:02:21 +01:00