maria:bb-mcs-10.9

Last commit made on 2022-05-10
Get this branch:
git clone -b bb-mcs-10.9 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-mcs-10.9
Repository:
lp:maria

Recent commits

9b5691d... by Roman Nozdrin <email address hidden>

The patch fixes openssl3-related compilation failure found using fresh U22 image

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

MDEV-28500: Hashicorp: Debian packaging is broken

This commit fixes a documentation installation
issue (for debian packaging) and generally brings
the installation control files up to date (as for
the rest of the components).

2e14f2c... by Julius Goryavsky <email address hidden>

MDEV-28279: Hashicorp: Cannot migrate hexadecimal keys from file key management

This commit fixes a bug in the algorithm for converting hexadecimal
strings to binary key values, which leads to incompatibility with other
plugins and reduces the effective information capacity of the keys.
The new key conversion algorithm is incompatible with tables which
alrady encrypted using a old plugin (plugin version less than or
equalt to the 1.05).

94841ba... by Julius Goryavsky <email address hidden>

Hashicorp plugin: typo fixed

8ae5408... by Julius Goryavsky <email address hidden>

MDEV-28442: Hashicorp: refactoring to wrap static variables into a class

This commit contains changes to refactor the the Hashicorp plugin code
which hides all variables previously declared as "static" and which are
not user-visible parameters into a special class that contains all the
plugin's dynamic data. This was done primarily to significantly simplify
the code of the initialization and deinitialization functions, which
previously contained a large number of gotos and complex branching
conditions to control memory deallocation.

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

MDEV-28291: Hashicorp: Cache variables claim to be dynamic but changes are ignored

This commit fixes an issue with no visible update in caching
option values after changing them dynamically while the server
is running. This issue was related to forgotten copy operations
of new values into dynamic variables. At the same time, internal
variables (responsible for caching) were always updated correctly.
The commit includes a test that checks that the update is now
reflected in the values of dynamic variables.

0902cfa... by Julius Goryavsky <email address hidden>

MDEV-28330: Hashicorp: Key caching doesn't appear to be working

Added test files for mtr that test failed configuration with
--loose-hashicorp-key-management-cache-version-timeout=180000
correctly set.

3d1f765... by Julius Goryavsky <email address hidden>

MDEV-28276: Hashicorp: checking that kv storage is created with version 2+

For the plugin to work properly, we need support for key versioning,
and for this, the kv storage in Hashicorp Vault must be created with
version 2 or higher. This commit adds such a check performed during
plugin initialization.

Note: checking for kv storage version during plugin initialization
can be disabled via --hashicorp-key-management-check-kv-version=off
command-line option or via the corresponding option in the server
configuration files.

1c22a9d... by Julius Goryavsky <email address hidden>

MDEV-28277: Checking for mandatory "/v1/" prefix in the URL

According to the Hashicorp Vault API specifications,
the URL to access the keys must include the "/v1/" prefix
at the beginning of the path. This commit adds this parameter
check, as well as a check for the presence of at least one
letter in the hostname inside the URL and in the secret
store name (after "/v1/").

35989d9... by Julius Goryavsky <email address hidden>

MDEV-28281: Hashicorp: Key ID is not indicated in the log record

This commit adds an indication of the ID of the not found key
(and, when appropriate, also an indication of the version number
of the key) in the log file, making it easier to find errors.