maria:10.4-mdev-21633

Last commit made on 2022-06-29
Get this branch:
git clone -b 10.4-mdev-21633 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.4-mdev-21633
Repository:
lp:maria

Recent commits

c58811a... by Igor Babaev

An attempt to fix MDEV-21633

0308de9... by Marko Mäkelä

MDEV-17138 follow-up: Optimize fseg_create()

fseg_create(): Initialize FSEG_FRAG_ARRY by a single MLOG_MEMSET record.

flst_zero_addr(), flst_init(): Optimize away redundant writes.

fseg_free_page_low(): Write FIL_NULL by MLOG_MEMSET.

3da895a... by Marko Mäkelä

Merge 10.3 into 10.4

4fcfdb6... by Marko Mäkelä

Merge 10.2 into 10.3

142442d... by Marko Mäkelä

MDEV-21024: Cleanup XDES_CLEAN_BIT

The XDES_CLEAN_BIT is always set for every element of
the page allocation bitmap in the extent descriptor pages.
Do not bother touching it, to avoid redundant writes.

878bc85... by Marko Mäkelä

MDEV-21024: Clean up dict_hdr_create()

The DICT_HDR_MAX_SPACE_ID was already zero-initialized at page allocation.

33f74e8... by Marko Mäkelä

MDEV-21024: Clean up IMPORT TABLESPACE

page_rec_write_field(): Remove.

dict_create_index_tree_step(): If the SYS_INDEXES.PAGE does not change,
do not update it in the data dictionary. Typically, all index page numbers
would be unchanged before and after IMPORT TABLESPACE, except if some
secondary indexes were created after loading some data.

btr_root_fseg_adjust_on_import(): Remove the redundant mtr_t* parameter.
Redo logging is disabled during the page adjustments that IMPORT TABLESPACE
is performing.

dfdd962... by Marko Mäkelä

MDEV-21024: Clean up btr_root_raise_and_insert()

The root page must never have any siblings, so it is unnecessary
to clear those fields.

fc2ca2b... by Marko Mäkelä

MDEV-21024: Clean up page allocation

fsp_alloc_seg_inode_page(): Ever since
commit 3926673ce7149aa223103126b6aeac819b10fab5
all newly allocated pages are zero-initialized.
Assert that this is the case for the FSEG_ID fields.

98e1d60... by Marko Mäkelä

MDEV-21024: Optimize writing BTR_EXTERN_LEN

btr_store_big_rec_extern_fields(): Remove the redundant initialization
of the most significant 32 bits of BTR_EXTERN_LEN. InnoDB never supported
BLOBs that are longer than 4GiB. In fact, dtuple_convert_big_rec()
would write emit an error message if a clustered index record tuple would
exceed 1,000,000,000 bytes in length.

The BTR_EXTERN_LEN in the BLOB pointers in clustered index leaf page
records is zero-initialized at least since
commit 41bb3537ba507799ab0143acd75ccab72192931e