maria:bb-10.6-MDEV-33769

Last commit made on 2024-04-23
Get this branch:
git clone -b bb-10.6-MDEV-33769 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-MDEV-33769
Repository:
lp:maria

Recent commits

2820bf9... by Dmitry Shulga <email address hidden>

MDEV-33769: Memory leak found in the test main.rownum run with --ps-protocol against a server built with the option -DWITH_PROTECT_STATEMENT_MEMROOT

8dda602... by Sergei Golubchik

spider should suppress errors in close_connection

because stmt_da no longer expects errors at this stage,
but mysql_close() call can still hit my_error() in net_serv.cc

340d93a... by Sergei Golubchik

cleanup: rpl.rpl_semi_sync_shutdown_await_ack

avoid using multiple files with the same functionality.

e5c9904... by Sergei Golubchik

make innodb.monitor test idempotent

41296a0... by Sergei Golubchik

Merge branch '10.5' into 10.6

263932d... by Marko Mäkelä

MDEV-33325 Crash in flst_read_addr on corrupted data

flst_read_addr(): Remove assertions. Instead, we will check these
conditions in the callers and avoid a crash in case of corruption.
We will check the conditions more carefully, because the callers
know more exact bounds for the page numbers and the byte offsets
withing pages.

flst_remove(), flst_add_first(), flst_add_last(): Add a parameter
for passing fil_space_t::free_limit. None of the lists may point to
pages that are beyond the current initialized length of the
tablespace.

trx_rseg_mem_restore(): Access the first page of the tablespace,
so that we will correctly recover rseg->space->free_limit
in case some log based recovery is pending.

ibuf_remove_free_page(): Only look up the root page once, and
validate the last page number.

Reviewed by: Debarun Banerjee

2d2172a... by Sergei Golubchik

sporadic failures of rpl.rpl_semi_sync_master_shutdown

increase the MASTER_CONNECT_RETRY time under valgrind,
otherwise the slave gives up retrying before the master is ready

also, cosmetic cleanup of rpl_semi_sync_master_shutdown.test

0da1653... by Andrei <email address hidden>

 MDEV-31779 Server crash in Rows_log_event::update_sequence upon replaying binary log

The crash at running mysqlbinlog on a SEQUENCE containing binlog file
was caused MDEV-29621 fixes that did not check which of the slave
or binlog applier executes a block introduced there.

The block is meaningful only for the parallel slave applier, so
it's safe to fix this bug with identified the actual applier and
skipping the block when it's the mysqlbinlog one.

da47c03... by Monty <email address hidden>

Fixed calculating of last_master_timestamp for parallel replication.

This effects the Seconds_Behind_Master value.

3655cef... by Monty <email address hidden>

MDEV-33813 ERROR 1021 (HY000): Disk full (./org/test1.MAI); waiting for someone to free some space

Fixed that internal temporary tables are not waiting for freed disk space.

Other things:
- 'kill id' will now kill a query waiting for free disk space instantly.
  Before it could take up to 60 seconds for the kill would be noticed.
- Fixed that sorting one index is not using MY_WAIT_IF_FULL for temp files.
- Fixed bug where share->write_flag set MY_WAIT_IF_FULL for temp files.

It is quite hard to do a test case for this. Instead I tested all
combinations interactively.