maria:bb-10.4-osmirnov

Last commit made on 2022-04-07
Get this branch:
git clone -b bb-10.4-osmirnov https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-osmirnov
Repository:
lp:maria

Recent commits

b2ecb62... by Oleg Smirnov

Remove a garbage file from mysql-test

7b95731... by Marko Mäkelä

Merge 10.3 into 10.4

3c99a48... by Jan Lindström

MDEV-28247 : Disable background ibuf merge during Galera SST

This failure was caused by MDEV-25975, which removed the parameter
innodb_disallow_writes.

Added a check for wsrep_sst_disable_writes to the function
ibuf_merge_in_background().

7355f7b... by Alexander Barkov

Adding MTR tests to cover how keywords of different kinds behave in various contexts

cbdf62a... by Marko Mäkelä

MDEV-25975 merge fixup

d172df9... by Marko Mäkelä

MDEV-25975: Merge 10.3 into 10.4

f089f8d... by Marko Mäkelä

MDEV-23328 fixup: sign mismatch in format strings

kill_one_thread(): Fix integer sign mismatch in some format strings.
Some of this was introduced
in commit 5c230b21bfa582ac304db526c3638c514cf98b13

d6d66c6... by Marko Mäkelä

Merge 10.3 into 10.4

e9735a8... by Marko Mäkelä

MDEV-25975 innodb_disallow_writes causes shutdown to hang

We will remove the parameter innodb_disallow_writes because it is badly
designed and implemented. The parameter was never allowed at startup.
It was only internally used by Galera snapshot transfer.
If a user executed
SET GLOBAL innodb_disallow_writes=ON;
the server could hang even on subsequent read operations.

During Galera snapshot transfer, we will block writes
to implement an rsync friendly snapshot, as follows:

sst_flush_tables() will acquire a global lock by executing
FLUSH TABLES WITH READ LOCK, which will block any writes
at the high level.

sst_disable_innodb_writes(), invoked via ha_disable_internal_writes(true),
will suspend or disable InnoDB background tasks or threads that could
initiate writes. As part of this, log_make_checkpoint() will be invoked
to ensure that anything in the InnoDB buf_pool.flush_list will be written
to the data files. This has the nice side effect that the Galera joiner
will avoid crash recovery.

The changes to sql/wsrep.cc and to the tests are based on a prototype
that was developed by Jan Lindström.

Reviewed by: Jan Lindström

7c584d8... by Marko Mäkelä

Merge 10.2 into 10.3