maria:10.10-merge-28798

Last commit made on 2023-04-25
Get this branch:
git clone -b 10.10-merge-28798 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.10-merge-28798
Repository:
lp:maria

Recent commits

baf9042... by Brandon Nesterenko

MDEV-28798: Previously Binlog Encrypted Master Segfaults on Binlog Dump with Using_Gtid=Slave_Pos

Problem:
========
A master can segfault if it can't set up decryption for its binary
log during a binlog dump with Using_Gtid=Slave_Pos. If slave
connects using GTID mode, the master will call into
log.cc::get_gtid_list_event(), which iterate through binlog events
looking for a Gtid_list_log_event. On an encrypted binlog that the
master cannot decrypt, the first event will be a
START_ENCRYPTION_EVENT which will call into the following decryption branch

if (fdle->start_decryption((Start_encryption_log_event*) ev))
  errormsg= ‘Could not set up decryption for binlog.’;

The event iteration however, does not stop in spite of this error.
The master will try to read the next event, but segfault while
trying to decrypt it because decryption failed to initialize.

Solution:
========
Break the event iteration if decryption cannot be set up.

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

25a8bdd... by Oleksandr "Sanja" Byelkin

Merge branch '10.10.3' into 10.10

dcd93d0... by Daniel Bartholomew <email address hidden>

bump the VERSION

cc8b9bc... by Oleksandr "Sanja" Byelkin

Merge branch '10.9' into 10.10

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

MDEV-30452: ssl error: unexpected EOF while reading

This commit contains fixes for error codes, which are needed
because OpenSSL 3.x and recent versions of GnuTLS have changed
the indication of error codes when the peer does not send
close_notify before closing the connection.

260f1fe... by Oleksandr "Sanja" Byelkin

Merge branch '10.8' into 10.9

d4310eb... by Oleksandr "Sanja" Byelkin

Merge branch '10.7' into 10.8

bc656c4... by Oleksandr "Sanja" Byelkin

Merge branch '10.6' into 10.7

4c79e15... by Julius Goryavsky <email address hidden>

MDEV-30536: no expected deadlock in galera_insert_bulk test

Unstable test (galera_insert_bulk) temporarily disabled.

9018704... by Oleksandr "Sanja" Byelkin

Fix results in real ps-protocol:

Starting wth 10.6 it goes via ps protocol so the subselect removed
only once on prepare.