maria:st-10.11-merge-draft

Last commit made on 2023-10-17
Get this branch:
git clone -b st-10.11-merge-draft https://git.launchpad.net/maria

Branch merges

Branch information

Name:
st-10.11-merge-draft
Repository:
lp:maria

Recent commits

79d8b66... by Yuchen Pei <email address hidden>

Merge branch '10.10' into 10.11

8f90594... by Yuchen Pei <email address hidden>

[fixup] Spider fixup after merge

- Remove some references to dead macros

515f8de... by Yuchen Pei <email address hidden>

Spider: update reason for disabling spider/bugfix.mdev_27239

It was disabled in the recent 10.6->10.10 merge.

d5e1542... by Marko Mäkelä

Merge 10.6 into 10.10

The MDEV-29693 conflict resolution is from Monty, as well as is
a bug fix where ANALYZE TABLE wrongly built histograms for
single-column PRIMARY KEY.
Also includes a fix for safe_malloc error reporting.

Other things:
- Copied main.log_slow from 10.4 to avoid mtr issue

Disabled test:
- spider/bugfix.mdev_27239 because we started to get
  +Error 1429 Unable to connect to foreign data source: localhost
  -Error 1158 Got an error reading communication packets
- main.delayed
  - Bug#54332 Deadlock with two connections doing LOCK TABLE+INSERT DELAYED
    This part is disabled for now as it fails randomly with different
    warnings/errors (no corruption).

17810b7... by Yuchen Pei <email address hidden>

Merge branch '10.10' into 10.11

3b38c2f... by Daniel Black

MDEV-18200 MariaBackup full backup failed with InnoDB: Failing assertion: success

There are many filesystem related errors that can occur with
MariaBackup. These already outputed to stderr with a good description of
the error. Many of these are permission or resource (file descriptor)
limits where the assertion and resulting core crash doesn't offer
developers anything more than the log message. To the user, assertions
and core crashes come across as poor error handling.

As such we return an error and handle this all the way up the stack.

c72ddee... by Marko Mäkelä

MDEV-32364 Server crashes when starting server with high innodb_log_buffer_size

log_t::create(), log_t::attach(): Return whether the initialisation
succeeded. It may fail if too large an innodb_log_buffer_size is specified.

recv_sys_t::close_files(): Actually close the data files so that the
test mariabackup.huge_lsn,strict_crc32 will not fail on Microsoft Windows
when renaming ib_logfile101 due to a leaked file handle of ib_logfile0.

recv_sys_t::find_checkpoint(): Register recv_sys.files[0] as OS_FILE_CLOSED
because the file handle has already been attached to log_sys.log and
we do not want to close the file twice.

recv_sys_t::read(): Access the first log file via log_sys.log.

This is a port of commit 6e9b421f7721b65661bb932360d2bccbcc33e10f
adapted to commit 685d958e38b825ad9829be311f26729cccf37c46 (MDEV-14425).

The test case is omitted, because it would fail to fail when the log
is stored in persistent memory (or "fake PMEM" on Linux /dev/shm).

50784c8... by Yuchen Pei <email address hidden>

MDEV-32238 Adding a switch to disable the spider group by handler

The system variable spider_disable_group_by_handler, if on, will
disable the spider group by handler (gbh), and such disablement serves
as workaround to bugs caused by gbh, labelled with spider-gbh on jira,
including MDEV-26247, MDEV-28998, MDEV-29163, MDEV-30392, MDEV-31645.
Tests for these tickets are added accordingly with the workaround in
place.

8bf17c5... by Monty <email address hidden>

MDEV-32388 MSAN / Valgrind errors in Item_func_like::get_mm_leaf upon query from partitioned table

The problem was that RANGE_OPT_PARAM was not completely initialized in
some cases.
Added bzero() to ensure that all elements are always initialized.

55534a2... by Monty <email address hidden>

Removed warning from ssl_cipher.test