maria:bb-11.0-MDEV-30318-v2

Last commit made on 2023-02-03
Get this branch:
git clone -b bb-11.0-MDEV-30318-v2 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.0-MDEV-30318-v2
Repository:
lp:maria

Recent commits

f63cb4e... by Julius Goryavsky <email address hidden>

wsrep-lib submodule update

c883ea5... by Julius Goryavsky <email address hidden>

MDEV-30318: galera error messages in mariadb log without galera enabled

Post-fix to MDEV-20318 and MDEV-22570-related changes:
unified handling of wsrep_provider by code so that "none"
is interpreted as case-insensitive everywhere and that
work with an empty string is supported everywhere.

6d82c77... by Jan Lindström

MDEV-30318 : galera error messages in mariadb log without galera enabled

Do not compile wsrep_provider plugin if WITH_WSREP is not enabled.
We should not enable wsrep_provider plugin if WSREP_ON=OFF and
at that case we can only print information that Plugin
'wsrep-provider' is disabled.

Make sure tests require Galera library 26.4.14 if needed.

b913bf4... by Jan Lindström

MDEV-30133 : MariaDB startup does not validate plugin-wsrep-provider when wsrep_mode=off or wsrep_provider is not set

Refuse to start if WSREP_ON=OFF or wsrep_provider is not set or
it is set to 'none' if plugin-wsrep-provider is used.

3743d47... by Jan Lindström

MDEV-30120 : Update the wsrep_provider_options read_only value in the system_variables table.

When wsrep-provider-options plugin is initialized we need to update
wsrep-provider-options variable as READ_ONLY.

50dbd47... by Daniele Sciascia <email address hidden>

MDEV-22570 Implement wsrep_provider_options as plugin

- Provider options are read from the provider during
  startup, before plugins are initialized.
- New wsrep_provider plugin for which sysvars are generated
  dynamically from options read from the provider.
- The plugin is enabled by option plugin-wsrep-provider=ON.
  If enabled, wsrep_provider_options can no longer be used,
  (an error is raised on attempts to do so).
- Each option is either string, integer, double or bool
- Options can be dynamic / readonly
- Options can be deprecated

Limitations:

- We do not check that the value of a provider option falls
  within a certain range. This type of validation is still
  done in Galera side.

Reviewed-by: Jan Lindström <email address hidden>

6252a28... by Sergei Golubchik

MDEV-28910 remove the 5.5.5- version hack

no longer needed, MySQL replication was fixed meanwhile.

client code still can recognize and strip the prefix though.

986d39c... by Marko Mäkelä

MDEV-29694 follow-up: Simplify mlog_init_t

The Boolean flag mlog_init_t::init::created was only needed by
mark_ibuf_exist(), which commit f27e9c894779a4c7ebe6446ba9aa408f1771c114
removed. We only need to store the page initialization LSN in the map.

75c7831... by Marko Mäkelä

Merge 10.11 into 11.0

a30d425... by Marko Mäkelä

MDEV-26790 InnoDB read-ahead may cause page writes

buf_LRU_get_free_block(): Replace the Boolean parameter with a
ternary parameter, so that have_no_mutex_soft can be specified
reduce the chances of initiating page eviction flushing in read-ahead.

buf_read_acquire(): Invoke buf_LRU_get_free_block(have_no_mutex_soft)
and check in each caller for a nullptr return value.