maria:10.6

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

Branch merges

Branch information

Name:
10.6
Repository:
lp:maria

Recent commits

0ccdf54... by Monty <email address hidden>

Check and remove high stack usage

I checked all stack overflow potential problems found with
gcc -Wstack-usage=16384
and
clang -Wframe-larger-than=16384 -no-inline

Fixes:
Added '#pragma clang diagnostic ignored "-Wframe-larger-than="'
  to a lot of function to where stack usage large but resonable.
- Added stack check warnings to BUILD scrips when using clang and debug.

Function changed to use malloc instead allocating things on stack:
- read_bootstrap_query() now allocates line_buffer (20000 bytes) with
  malloc() instead of using stack. This has a small performance impact
  but this is not releant for bootstrap.
- mroonga grn_select() used 65856 bytes on stack. Changed it to use
  malloc().
- Wsrep_schema::replay_transaction() and
  Wsrep_schema::recover_sr_transactions().
- Connect zipOpen3()

Not fixed:
- mroonga/vendor/groonga/lib/expr.c grn_proc_call() uses
  43712 byte on stack. However this is not easy to fix as the stack
  used is caused by a lot of code generated by defines.
- Most changes in mroonga/groonga where only adding of pragmas to disable
  stack warnings.
- rocksdb/options/options_helper.cc uses 20288 of stack space.
  (no reason to fix except to get rid of the compiler warning)
- Causes using alloca() where the allocation size is resonable.
- An issue in libmariadb (reported to connectors).

07faba0... by Marko Mäkelä

MDEV-27924 fixup: cmake -DWITH_INNODB_EXTRA_DEBUG=ON

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

MDEV-33928 : Assertion failure on wsrep_thd_is_aborting

Problem was assertion assuming we always hold
THD::LOCK_thd_data mutex that is not true.
In most cases this is true but function is
also used from InnoDB lock manager and
there we can't take THD::LOCK_thd_data to
obey mutex ordering. Removed assertion as
wsrep transaction state can't change even
that case.

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

466bc8f... by Sergei Golubchik

fix failing large_tests.maria_recover_encrypted

update results

e83d92e... by Sergei Golubchik

sporadic failures of rpl.rpl_semi_sync_fail_over

in the $case=2 - it's wrong to kill after the first binlog EOF,
because that might happen between INSERT(4) and INSERT(5).

So, wait for the slave to acknowledge INSERT(5) before killing
the master, that is, both connection threads must pass
repl_semisync_master.wait_after_sync()

6242783... by Sergei Golubchik

rpl.rpl_semi_sync_fail_over improve debugability

1437e73... by Sergei Golubchik

adjust timeout value in main.ssl_timeout test

fixes sporadic failures under --valgrind

a4b6409... by Sergei Golubchik

sporadic failures of binlog_encryption.rpl_parallel_slave_bgc_kill

do CHANGE MASTER before sync_with_master to have the slave
in a predictable fully synced state before the next test

c7c3967... by Sergei Golubchik

use correct thd for DEBUG_SYNC in group commit

it always has to be current_thd, DBUG_SYNC asserts that.

fixes sporadic SIGABRT's in binlog_encryption.rpl_parallel_slave_bgc_kill

d8368ae... by Sergei Golubchik

Merge '10.5' into 10.6