summaryrefslogtreecommitdiff
path: root/sql/wsrep_binlog.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-02-09 15:10:10 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-02-09 15:10:10 +0200
commitfd101daa84ec5f70f09c48e3fb7a4ce8f6d26edb (patch)
treef5684f6bcaedda141e97ac9e7226cc4196836a28 /sql/wsrep_binlog.cc
parent34c5019698ae2cab5be769b70665448a88f3ebbf (diff)
downloadmariadb-git-fd101daa84ec5f70f09c48e3fb7a4ce8f6d26edb.tar.gz
MDEV-27716 mtr_t::commit() acquires log_sys.mutex when writing no log
mtr_t::is_block_dirtied(), mtr_t::memo_push(): Never set m_made_dirty for pages of the temporary tablespace. Ever since commit 5eb539555b36a60944eefeb84d5d6d436ba61e63 we never add those pages to buf_pool.flush_list. mtr_t::commit(): Implement part of mtr_t::prepare_write() here, and avoid acquiring log_sys.mutex if no log is written. During IMPORT TABLESPACE fixup, we do not write log, but we must add pages to buf_pool.flush_list and for that, be prepared to acquire log_sys.flush_order_mutex. mtr_t::do_write(): Replaces mtr_t::prepare_write().
Diffstat (limited to 'sql/wsrep_binlog.cc')
0 files changed, 0 insertions, 0 deletions