maria:10.11-merge

Last commit made on 2023-06-01
Get this branch:
git clone -b 10.11-merge https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.11-merge
Repository:
lp:maria

Recent commits

5c461b8... by Marko Mäkelä

Merge 10.10 into 10.11

141af7b... by Marko Mäkelä

Merge 10.9 into 10.10

0894e3c... by Marko Mäkelä

Merge 10.6 into 10.9

548a41c... by Marko Mäkelä

Merge 10.5 into 10.6

bb9da13... by Marko Mäkelä

MDEV-31373 innodb_undo_log_truncate=ON recovery results in a corrupted undo log

recv_sys_t::apply(): When applying an undo log truncation operation,
invoke os_file_truncate() on space->recv_size, which must not be
less than the original truncated file size.

Alternatively, as pointed out by Thirunarayanan Balathandayuthapani,
we could assign space->size = t.pages, so that
fil_system_t::extend_to_recv_size() would extend the file back
to space->recv_size.

3aea77e... by Marko Mäkelä

MDEV-31347 fil_ibd_create() may hijack the file handle of an old file

fil_space_t::add(): If a file handle was passed, invoke
fil_node_t::find_metadata() before releasing fil_system.mutex.
The call was moved from fil_ibd_create().

This is a 10.5 version of commit e3b06156c6ecd5d3fd4376ee025df1ab45311a6d
from 10.6.

5919f7b... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-31264 Purge trying to access freed secondary index page

- InnoDB purge tries to access aborted secondary index and access
the freed secondary index root page.

e3b0615... by Marko Mäkelä

MDEV-31347 fil_ibd_create() may hijack the file handle of an old file

fil_ibd_create(): Hold fil_system.mutex until fil_node_t::find_metadata()
has completed, so that node->handle cannot be closed by a concurrent
thread. This race condition was introduced
in commit 10dd290b4b8b8b235c8cf42e100f0a4415629e79 (MDEV-17380).

Tested by: Matthias Leich

eb20e7c... by Marko Mäkelä

MDEV-31353 InnoDB recovery hangs after reporting corruption

recv_recover_page(): Remove some code which was added in
commit 0b47c126e31cddda1e94588799599e138400bcf8 with
no good reason and which would cause a hang after a corrupted
page was reported during crash recovery.

Tested by: Matthias Leich

30fb72c... by Tuukka Pasanen <email address hidden>

MDEV-31331: Fix cut'n'paste variable name in Debian pre-inst script

There is unwanted cut'n'paste variable name in Debian pre-inst
script which causes:

df: '': No such file or directory
/var/lib/dpkg/tmp.ci/preinst: line 215: [: : integer expression expected

Rename variable to correct one and make check that that directory
or symlink really exists. If it does not then fail with error
and message.