maria:bb-10.5-midenok

Last commit made on 2023-07-27
Get this branch:
git clone -b bb-10.5-midenok https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-midenok
Repository:
lp:maria

Recent commits

35533dc... by midenok

MDEV-29727 ALTER and CREATE with default partitioning
    differently react to SQL_MODE => unusable SHOW CREATE

Use abort_on_warning dependent on strict mode over create new table
like it is done for copy data and inplace alter.

f291c3d... by Oleksandr "Sanja" Byelkin

Merge branch '10.4' into 10.5

7564be1... by Oleksandr "Sanja" Byelkin

Merge branch '10.4' into 10.5

9854fb6... by Lena Startseva <email address hidden>

MDEV-31003: Second execution for ps-protocol

This patch adds for "--ps-protocol" second execution
of queries "SELECT".
Also in this patch it is added ability to disable/enable
(--disable_ps2_protocol/--enable_ps2_protocol) second
execution for "--ps-prototocol" in testcases.

23dae61... by Geoff Montee

MDEV-18374: Add SELinux policy to cracklib_password_check packages

515ba85... by Lena Startseva <email address hidden>

MDEV-31407: Add aliases in opt_trace.test for long column name for removing "--disable-view-protocol"

Change tests:
 opt_trace.test
 opt_trace_index_merge.test
 opt_trace_ucs2.test

2a46b35... by Oleksandr "Sanja" Byelkin

new WolfSSL v5.6.3-stable

063f4ac... by Brandon Nesterenko

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

MDEV-31749 sporadic assert in MDEV-30619 new test

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 solely sql_thread_caught_up
(added in MDEV-29639) to using the latter with 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 considered
idle when the driver thread has also distributed all events.

Low level details of the commit include
- 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.
- 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
- added test case to cover SBM spike of relay log read and LMT
  update that was fixed by MDEV-29639
- rpl_seconds_behind_master_spike.test is made to use
  the negate_clock_diff_with_master debug eval.

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

734583b... by Yuchen Pei <email address hidden>

MDEV-31400 Simple plugin dependency resolution

We introduce simple plugin dependency. A plugin init function may
return HA_ERR_RETRY_INIT. If this happens during server startup when
the server is trying to initialise all plugins, the failed plugins
will be retried, until no more plugins succeed in initialisation or
want to be retried.

This will fix spider init bugs which is caused in part by its
dependency on Aria for initialisation.

The reason we need a new return code, instead of treating every
failure as a request for retry, is that it may be impossible to clean
up after a failed plugin initialisation. Take InnoDB for example, it
has a global variable `buf_page_cleaner_is_active`, which may not
satisfy an assertion during a second initialisation try, probably
because InnoDB does not expect the initialisation to be called
twice.

668eb2c... by Oleksandr "Sanja" Byelkin

New CC 3.1