maria:detached

Last commit made on 2024-02-07
Get this branch:
git clone -b detached https://git.launchpad.net/maria

Branch merges

Branch information

Name:
detached
Repository:
lp:maria

Recent commits

1553a9d... by Oleksandr "Sanja" Byelkin

Merge branch '11.2' into mariadb-11.2.3

35c1970... by Daniel Bartholomew <email address hidden>

bump the VERSION

5d37cac... by Nikita Malyavin

MDEV-33348 ALTER TABLE lock waiting stages are indistinguishable

Several points of synchronization during ALTER TABLE COPY looked identical
in the progress report query. Besides, if its the late lock upgrade stage,
the data would be:
STAGE 0
MAX_STAGE 0
PROGRESS 0.000

which looks irrelevant.

This patch moves thd_progress_deinit call after the last lock upgrade.

Also, for online alter, if there is nothing to replicate, the
progress and max_progress values would be 0, which discard the result data
on the side of sql_show, see processlist_callback in sql_show.cc.
So now the minimal max_progress will be 1. To avoid 0% progress in the
report, minimax progress value is also set to 1, so we will see 100% if
there's nothing to replicate.

79580f4... by Sergei Golubchik

Merge branch '11.1' into 11.2

b6680e0... by Sergei Golubchik

Merge branch '11.0' into 11.1

6ef0b2e... by Sergei Golubchik

Merge branch '10.11' into 11.0

87e1372... by Sergei Golubchik

Merge branch '10.6' into 10.11

b5c367c... by Sergei Golubchik

MDEV-32815 test main.func_sformat Locale + test failures under Fedora 39 (fmt-10.0.0+)

FMT_STATIC_THOUSANDS_SEPARATOR stopped working in 10.0.0
Let's not use this fmt version for now

15c75ad... by Sergei Golubchik

pcre.cmake: always check the library with check_library_exists()

even if pkg-config has it. otherwise build dependencies
aren't detected.

dd95c58... by Brandon Nesterenko

MDEV-33331: IO Thread Relay Log Inconsistent Statistics After MDEV-32551

After MDEV-32551, in a master/slave setup, if the replica's IO thread
quickly and successively reconnects (i.e quickly running
STOP SLAVE IO_THREAD followed by START SLAVE IO_THREAD), the relay log
rotation behavior changes. That is, MDEV-32551 changed the logic of the
binlog_dump_thread on the primary, such that it can stop itself before
sending any events if it sees a new connection has been created to a
replica with the same server_id. Pre MDEV-32551, the connection would
establish and it would send a "fake" rotate event to populate the
log name. Post MDEV-32551, the connection stops itself, and a rotate
event is not sent.

This made the test rpl.rpl_mariadb_slave_capability unstable because
it is reliant on the name of the relay logs (which is dependent on the
number of rotates); and the pre-amble of the test would quickly
start/stop the IO thread. There a binlog dump thread could end itself
before sending a rotate event to the replica, thereby changing the name
of the relay log.

This patch fixes this by adding in a synchronization in-between IO thread
restarts, such that it waits for the primary's binlog dump threads to
sync up with the state of the replica.