maria:bb-10.9-MDEV-30619-merge

Last commit made on 2023-07-21
Get this branch:
git clone -b bb-10.9-MDEV-30619-merge https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.9-MDEV-30619-merge
Repository:
lp:maria

Recent commits

9e2b982... by Brandon Nesterenko

MDEV-30619: Test case for MDEV-29639 SBM spike fix

Added test case to cover SBM spike of relay log read and LMT
update that was fixed by MDEV-29639

Note that pause_sql_thread_on_next_event usage was removed
with the MDEV-30619 fixes. Rather than remove it, we adapt it
to the needs of this test case.

Additionally updated rpl_seconds_behind_master_spike.test to
use the negate_clock_diff_with_master debug eval.

51f9dab... by Brandon Nesterenko

MDEV-30619: Parallel Slave SQL Thread Can Update Seconds_Behind_Master with Active Workers

If the workers of a parallel replica are busy (potentially with long
queues), but the SQL thread has no events left to distribute (so it
goes idle), then the next event that comes from the primary will
update mi->last_master_timestamp with its timestamp, even if the
workers have not yet finished.

This patch changes the parallel replica logic which updates
last_master_timestamp after idling from using sql_thread_caught_up
(added in MDEV-29639) to using rli queued/dequeued event counters.
That is, if the queued count is equal to the dequeued count, it
means all events have been processed and the replica is idle.

Reviewed By:
============
Andrei Elkin <email address hidden>

1c0a13b... by Brandon Nesterenko

MDEV-30619: Rename rpl_delayed_parallel_slave_sbm to rpl_parallel_sbm

To make a more generalized test for Seconds_Behind_Master on
the parallel replica, rpl_delayed_parallel_slave_sbm.test
is renamed to rpl_parallel_sbm.test for this purpose.

b9c7da4... by Alexander Barkov

MDEV-30003 Assertion failure upon 2nd execution of SP trying to set collation on non-existing database

The DBUG_ASSER in HA_CREATE_INFO::resolve_to_charset_collation_context()
didn't take into account that the second execution is possible not only
during a prepared EXECUTE, but also during a CALL.

42738f5... by Alexander Barkov

MDEV-30681 SIGFPE / UBSAN runtime error: division by zero in String::needs_conversion on ALTER

The problem was earlier fixed by MDEV-30805. Adding an MTR test only.

b27167c... by Tuukka Pasanen <email address hidden>

Make sure that here is MariaDB client available

fe5957e... by Tuukka Pasanen <email address hidden>

MDEV-31118: Add Lintian overrides for false positives

MariaDB Compression pluging pacakages mariadb-plugin-provider-*
have only one shared object and those are not linked against
libc and it's intentional so supressing error
library-not-linked-against-libc

There is needed dependency for Systemd DH plugin which
makes error missing-build-dependency-for-dh-addon obsolette.

Reworked debian/control that makes most of
version-substvar-for-external-package error not correct
so remove those that are not available anymore and update
those that are still relevant.

NOTE TO MERGER: This is only up-to MariaDB 10.10.

14eff72... by Tuukka Pasanen <email address hidden>

MDEV-31118: Override lintian dh-addon for systemd

Lintian erros with
 missing-build-dependency-for-dh-addon systemd (*)

One of these premises should be installed:
 debhelper:any (>= 9.20160709~)
 debhelper-compat:any
 dh-sequence-systemd:any
 dh-systemd:any

As there is package debhelper version 10 or higher required
for build. This is false positive Lintian error which should
be supressed..

NOTE TO MERGER: This is only up-to MariaDB 10.10.

3dd3308... by Tuukka Pasanen <email address hidden>

MDEV-31118: Rework Salsa-CI YAML work again

Salsa-CI file has got in malfunction state and
if fails with YAML error:
 mariadb-10.3 with Buster backports upgrade job:
 undefined need: build buster-backports

Also remove Salsa-CI MariaDB 10.3 double
upgrade target.

There is also several upgrades which makes
test green again.

NOTE TO MERGER: This is only up-to MariaDB 10.10.

Remove

90cd3b3... by Tuukka Pasanen <email address hidden>

MDEV-31118: Remove version-substvar-for-external-package problems

In debian/control file there is several mariadb-*-10.9 Conflicts
or Replaces that which are not neede on MariaDB 10.9 anymore
as there is not suffix anymore.

Package libmariadbclient-dev is part of Ubuntu and it's
not build with official package so there can't be
variable: '${source:Version}' which is used with packages
that are part of package.

NOTE TO MERGER: This is only up-to MariaDB 10.10.