Skip to content

Commit 8d714db

Browse files
MDEV-24997 Assertion mtr->is_named_space(page_id.space()) in ibuf0ibuf.cc:624
- This is caused by commit deadec4 (MDEV-24569). InnoDB fails to set the tablespace associated with mini-transacton while resetting the change buffer bitmap bits of the page.
1 parent 1696e4d commit 8d714db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/ibuf/ibuf0ibuf.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4251,6 +4251,7 @@ void ibuf_merge_or_delete_for_page(buf_block_t *block, const page_id_t page_id,
42514251
if (bitmap_bits && fseg_page_is_free(
42524252
space, page_id.page_no())) {
42534253
ibuf_mtr_start(&mtr);
4254+
mtr.set_named_space(space);
42544255
ibuf_reset_bitmap(block, page_id, zip_size, &mtr);
42554256
ibuf_mtr_commit(&mtr);
42564257
bitmap_bits = 0;

0 commit comments

Comments
 (0)