maria:bb-10.5-MDEV-33952-galera

Last commit made on 2024-05-14
Get this branch:
git clone -b bb-10.5-MDEV-33952-galera https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-MDEV-33952-galera
Repository:
lp:maria

Recent commits

b8732e5... by Julius Goryavsky <email address hidden>

galera: wsrep-lib submodule update

0b95029... by Denis Protivensky <email address hidden>

MDEV-33952: Fix flaky galera_create_table_as_select test with debug sync

The test that triggers multi-master conflict between two CTAS commands
uses LOCK/UNLOCK TABLES to block local CTAS from progress. It could
result in a race when UNLOCK TABLES command is issued a bit earlier
then needed, causing local CTAS to run further and change wsrep
transaction state, so that a different code path is taken later and
the original error gets overridden, causing the test to fail.
The solution is to replace LOCK/UNLOCK TABLES with debug sync points.

Signed-off-by: Julius Goryavsky <email address hidden>

fd76746... by Yuchen Pei <email address hidden>

MDEV-28105 Return error in ha_spider::write_row() if info(HA_STATUS_AUTO) fails

Spider calls info with HA_STATUS_AUTO to update auto increment info,
which may attempt to connect the data node. If the connection fails,
it may emit an error and return the same error. This error should not
be of lower priority than any possible error from the later call to
handler::update_auto_increment().

Without this change, certain errors from update_auto_increment() such
as HA_ERR_AUTOINC_ERANGE may get ignored, causing my_insert() to call
my_ok(), which fails the assertion because the error was emitted in
the info() call (Diagnostics_area::is_set() returns true).

a6ae1c2... by Yuchen Pei <email address hidden>

MDEV-32487 Check plugin is ready when resolving storage engine

This handles the situation when one thread is still initiating a
storage engine plugin, while another is creating a table using it.

1e5b0ff... by Sergei Golubchik

mtr: don't store galera sst logs in /tmp/

9ea1f67... by Marko Mäkelä

MDEV-33817: Proper intrinsics for vextracti32x4

d7d8c2c... by Daniel Black

MDEV-31566: Fix buffer overrun of column_json function (postfix)

Test case failed --view protocol. Revert to using table for data
in the test.

8677472... by He Guohua <email address hidden>

MDEV-31566 Fix buffer overrun of column_json function

The accounting of the limit variable that represents the
amount of space left it the buffer was incorrect.

Also there was 1 or 2 bytes left to write that occured without
the buffer length being checked.

Review: Sanja Byelkin

034abab... by Daniel Black

MDEV-34053 mariadbbackup privilege REPLICA MONITOR issue

MariaDB-backup needs to check for SLAVE MONITOR as that is
what is returned by SHOW GRANTS.

Update test to ensure that warnings about missing privileges
do not occur when the backup is successful.

Reviewer: Andrew Hutchings
Thanks Eugene for reporting the issue.

29c185b... by Sergei Golubchik

test needs to cleanup after itself