maria:bb-11.1-mdev-31400

Last commit made on 2023-07-25
Get this branch:
git clone -b bb-11.1-mdev-31400 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.1-mdev-31400
Repository:
lp:maria

Recent commits

a45e779... by Yuchen Pei

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.

26b9609... by Yasuhiro-gh <email address hidden>

MDEV-23865 Create malloc function attribute

cee9b3b... by Marko Mäkelä

Merge 11.0 into 11.1

a906046... by Marko Mäkelä

Merge 10.11 into 11.0

3430767... by Marko Mäkelä

Merge 10.10 into 10.11

c2d5523... by Marko Mäkelä

Merge 10.9 into 10.10

c054a62... by Nicholas Othieno <email address hidden>

MDEV-31530 Localizations for Swahili language

Kenyan Swahili is enabled for error messages as well as datetime.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.

a9e1386... by Yuchen Pei <email address hidden>

MDEV-31463 [fixup] Spider: error code in mdev_31463.test

The error code is non-deterministic, presumably due to some race
condition from the SLEEP statement above. The correct error should be
12701 ER_SPIDER_REMOTE_SERVER_GONE_AWAY_NUM as it is the last failure.
Nevertheless, this contrived test is needed to cover the error
reporting when setting lock wait timeout, until we find a better test
case and/or fixing the non-deterministic error reporting (MDEV-31586)

35de832... by Marko Mäkelä

MDEV-31311: The test innodb.log_file_size_online occasionally hangs

log_t::write_checkpoint(), log_t::resize_start(): Invoke buf_flush_ahead()
with buf_pool.get_oldest_modification(0)+1 so that another checkpoint will
be invoked, to complete the log resizing.

Tested by: Oleg Smirnov (on Microsoft Windows, where this hung most often)

26fc07b... by Marko Mäkelä

Merge 10.6 into 10.9