maria:knielsen_start_alter

Last commit made on 2023-05-13
Get this branch:
git clone -b knielsen_start_alter https://git.launchpad.net/maria

Branch merges

Branch information

Name:
knielsen_start_alter
Repository:
lp:maria

Recent commits

fe31aa9... by Kristian Nielsen

MDEV-30386: Test case for cleaning up extra domain_ids

Signed-off-by: Kristian Nielsen <email address hidden>

de6b803... by Kristian Nielsen

MDEV-31239: Second-level slave hangs when master crashes between START and COMMIT ALTER

Test case only that demonstrates (one instance of) the problem.

During ALTER TABLE with binlog_alter_two_phase=ON, if the master crashes in
the middle, the binlog will contain a START ALTER event without a matching
COMMIT ALTER event. A third-level slave will thus wait forever in the SA
thread in the START ALTER, waiting for a signal from COMMIT ALTER that never arrives.

Signed-off-by: Kristian Nielsen <email address hidden>

035f4c4... by Kristian Nielsen

MDEV-31211: START ALTER hang with multi-source replication and --gtid-ignore-duplicates

Intermediate commit, just a testcase, no fix yet.

Signed-off-by: Kristian Nielsen <email address hidden>

e2ee9b7... by Kristian Nielsen

MDEV-31207: Memory leak when START ALTER fails on slave

Fix the code so that the rgi->sa_info object is initially owned by the rgi,
and ownership later explicitly transferred to the start_alter_list. This way
the memory will be freed both when START ALTER is successful and when it
fails.

Signed-off-by: Kristian Nielsen <email address hidden>

47fe98d... by Kristian Nielsen

Some comments in the code clarified/fixed

Signed-off-by: Kristian Nielsen <email address hidden>

41dbc32... by Kristian Nielsen

MDEV-31140: FLUSH BINARY LOGS DELETE_DOMAIN_ID=(D) can errorneously delete active domains

Fix the code in rpl_binlog_state::drop_domain(), so that _all_ entries for
the domain in the binlog state must match an entry in the initial GTID_LIST,
not just one entry match.

Signed-off-by: Kristian Nielsen <email address hidden>

7b17e0d... by Marko Mäkelä

Merge 10.10 into 10.11

4f16e95... by Marko Mäkelä

Merge 10.9 into 10.10

d0a71e9... by Daniel Black

deb: sid - debian autobake

Deb-autobakes where failing with:

dh_missing: warning: usr/share/mysql/mysql-test/mysql-test-run exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/mysql/mysql-test/mtr exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/mysql/mysql-test/mariadb-test-run exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/mysql/mysql-test/mysql-test-run.pl exists in debian/tmp but is not installed to anywhere

Add all to mariadb-test.install and remove mariadb-test.links

436d8ef... by Marko Mäkelä

Merge 10.8 into 10.9