maria:bb-10.5-sst-galera

Last commit made on 2024-04-28
Get this branch:
git clone -b bb-10.5-sst-galera https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-sst-galera
Repository:
lp:maria

Recent commits

c70ab92... by mkaruza <email address hidden>

MDEV-18590: galera.versioning_trx_id: Test failure: mysqltest: Result content mismatch

Replicated events have time associated with them from originating
node which will be used for commit timestamp. Associated time can
be set in past before event is even applied.

For WSREP replication we don't need to use time information from
event.

Addressed review comments:
   Jan Lindström <email address hidden>

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

794d5e1... by =?utf-8?q?Jan_Lindstr=C3=B6m?= <email address hidden>

MDEV-33898 : Galera test failure on galera.MW-369

Tests using MW-369.inc sometimes hanged after
signaling two debug sync points inside a Galera
library. Replaced Galera library sync point
with server code sync point when possible and
added more wait_conditions to make sure we are
in correct state.

Tests effected: MW-369, MW-402, MDEV-27276, and
mysql-wsrep#332.

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

395f9a9... by Julius Goryavsky <email address hidden>

galera SST scripts: parsing CN in certificates

This commit contains a fix for the code that extracts and parses
the CN (common name, domain name) record from certificates using
the openssl utility. This code is also made common to the rsync
and mariabackup scripts. There is also some systematization of
the use of 'printf' and 'echo' builtins/utilities.

2a01463... by =?utf-8?q?Jan_Lindstr=C3=B6m?= <email address hidden>

MDEV-33898 : Galera test failure on galera.MW-369

Tests using MW-369.inc sometimes hanged after
signaling two debug sync points inside a Galera
library. Replaced Galera library sync point
with server code sync point when possible and
added more wait_conditions to make sure we are
in correct state.

Tests effected: MW-369, MW-402, MDEV-27276, and
mysql-wsrep#332.

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

bda8d4f... by Oleksandr "Sanja" Byelkin

require boost 1.53 for columnstore

a09ebe5... by Oleksandr "Sanja" Byelkin

PCRE2-10.43

pcre2 - fix CMAKE_C_FLAGS for MSVC for external project by Vladislav Vaintroub <email address hidden>

3141a68... by Alexander Barkov

MDEV-33534 UBSAN: Negation of -X cannot be represented in type 'long long int'; cast to an unsigned type to negate this value to itself in my_double_round from sql/item_func.cc|

The negation in this line:
  ulonglong abs_dec= dec_negative ? -dec : dec;
did not take into account that 'dec' can be the smallest possible
signed negative value -9223372036854775808. Its negation is
an operation with an undefined behavior.

Fixing the code to use Longlong_hybrid, which implements a safe
method to get an absolute value.

3d41747... by Hugo Wen <email address hidden>

MDEV-33574 Improve mysqlbinlog error message

Previously, when running mysqlbinlog without providing a binlog file, it
would print the entire help text, which was very verbose and made it
difficult to identify the actual issue.

Now change the behavior to print a more concise error message instead:

    "ERROR: Please provide the log file(s). Run with '--help' for usage instructions."

This makes the error output more user-friendly and easier to understand,
especially when running the tool in scripts or automated processes.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer
Amazon Web Services, Inc.

b3e531a... by =?utf-8?q?Jan_Lindstr=C3=B6m?= <email address hidden>

MDEV-33896 : Galera test failure on galera_3nodes.MDEV-29171

Based on logs we might start SST before donor has reached
Primary state. Because this test shutdowns all nodes we
need to make sure when we start nodes that previous nodes
have reached Primary state and joined the cluster.

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

10d251e... by Marko Mäkelä

MDEV-26450 fixup: Remove a bogus assertion

mtr_t::commit_shrink(): Do not assert that some previously clean pages
will be flagged as modified by this mini-transaction. It could be the
case that there had been no recent write-back of any of the undo
tablespace pages that we are modifying when truncating the tablespace.
It suffices to assert that some pages were modified again:
ut_ad(m_modifications).

This fixes up commit f5fddae3cbcff2d2531f0ce61bd144212379aa42