maria:bb-10.6-thiru

Last commit made on 2023-12-21
Get this branch:
git clone -b bb-10.6-thiru https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-thiru
Repository:
lp:maria

Recent commits

82ce4f0... by THIRUNARAYANAN BALATHANDAYUTHAPANI

Added debug sync to avoid checkpoint and disabled innodb_flush_sync
in innodb.doublewrite_debug test case

2b01e51... by Marko Mäkelä

Merge 10.5 into 10.6

1299555... by Marko Mäkelä

Merge 10.4 into 10.5

476ff09... by Marko Mäkelä

MDEV-33062 innodb_undo_log_truncate=ON prevents fast shutdown

trx_purge_truncate_history(): If a fast shutdown has been initiated,
disregard innodb_undo_log_truncate=ON and return.

eaa4968... by Kristian Nielsen

MDEV-10653: Fix segfault in SHOW MASTER STATUS with NULL inuse_relaylog

The previous patch for MDEV-10653 changes the rpl_parallel::workers_idle()
function to use Relay_log_info::last_inuse_relaylog to check for idle
workers. But the code was missing a NULL check. Also, there was one place
during SQL slave thread start which was missing mutex synchronisation when
updating inuse_relaylog.

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

1cbba45... by Kristian Nielsen

Attempt to fix rare race in test for MDEV-8031

The error-injection inject_mdev8031 simulates a deadlock kill in a specific
place, by setting killed_for_retry to RETRY_KILL_KILLED directly. If a real
deadlock kill triggers at the same time, it is possible for the thread to
complete its transaction retry and set rgi_slave to NULL before the real
readlock kill can complete in the background. This will cause a segfault
due to null-pointer access.

Fix by changing the error injection to do a real background deadlock kill,
which ensures that the thread will wait for any pending background kills to
complete.

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

a204ce2... by Kristian Nielsen

MDEV-33045: Server crashes in Item_func_binlog_gtid_pos::val_str / Binary_string::c_ptr_safe

Item::val_str() sets the Item::null_value flag, so call it before checking
the flag, not after.

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

98287bd... by Marko Mäkelä

MDEV-33009 Server hangs for a long time with innodb_undo_log_truncate=ON

trx_purge_truncate_history(): Release buf_pool.flush_list_mutex
and 'dummily' acquire and release buf_pool.mutex before starting
a rescan of buf_pool.flush_list, to ensure that
the buf_flush_page_cleaner thread (which may be holding buf_pool.mutex)
will be able to proceed.

This fixes up commit 5dbe7a8c9aa88b7ed17311c2f1df651c9da7783b (MDEV-32757).

Tested by: Axel Schwenke (on Ubuntu 18.04 and Ubuntu 20.04)
Reviewed by: Vladislav Lesin

be69438... by hsser <email address hidden>

MDEV-31925 Fix for File Leak in mysql_upgrade with --check-if-upgrade-is-needed Option

This commit addresses the file leakage problem encountered with the mysql_upgrade --check-if-upgrade-is-needed command.

4c2e971... by Marko Mäkelä

MDEV-33052 MSAN use-of-uninitialized-value in buf_read_ahead_linear()

buf_read_ahead_linear(): Suppress a warning of comparing potentially
uninitialized FIL_PAGE_PREV and FIL_PAGE_NEXT fields.