Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.8.1
Description
In MDEV-14425, the log parsing in mariadb-backup --backup was rewritten. The parameter STORE_IF_EXISTS that is being passed to recv_sys.parse_mtr() or recv_sys.parse_pmem() instead of STORE_NO causes additional memory to be allocated for redo log records. This was noticed by a SAFE_MUTEX assertion for buf_pool.mutex:
#4 0x000055c9fc87921d in buf_LRU_get_free_block (have_mutex=false) at /data/Server/bb-10.8-MDEV-27774/storage/innobase/buf/buf0lru.cc:402
|
#5 0x000055c9fc7fc45b in buf_block_alloc () at /data/Server/bb-10.8-MDEV-27774/storage/innobase/include/buf0buf.inl:93
|
#6 0x000055c9fcbb1b9b in recv_sys_t::alloc (this=0x55c9fee36fe0 <recv_sys>, len=35) at /data/Server/bb-10.8-MDEV-27774/storage/innobase/log/log0recv.cc:1396
|
#7 0x000055c9fcbb379c in recv_sys_t::add (this=0x55c9fee36fe0 <recv_sys>, Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer':
|
it=..., start_lsn=17240206, lsn=17260854, l=0x7fa5600bf08e "'", len=8) at /data/Server/bb-10.8-MDEV-27774/storage/innobase/log/log0recv.cc:1970
|
#8 0x000055c9fcbbc9b7 in recv_sys_t::parse<recv_buf> (this=0x55c9fee36fe0 <recv_sys>, store=STORE_IF_EXISTS, l=...) at /data/Server/bb-10.8-MDEV-27774/storage/innobase/log/log0recv.cc:2632
|
#9 0x000055c9fcb974cd in recv_sys_t::parse_mtr (store=STORE_IF_EXISTS) at /data/Server/bb-10.8-MDEV-27774/storage/innobase/log/log0recv.cc:2776
|
#10 0x000055c9fb34d56b in xtrabackup_copy_logfile () at /data/Server/bb-10.8-MDEV-27774/extra/mariabackup/xtrabackup.cc:3111
|
Attachments
Issue Links
- is caused by
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
- Closed