maria:bb-10.9-danielblack-MDEV-27791-test-postfix_2

Last commit made on 2022-04-13
Get this branch:
git clone -b bb-10.9-danielblack-MDEV-27791-test-postfix_2 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.9-danielblack-MDEV-27791-test-postfix_2
Repository:
lp:maria

Recent commits

bea47a6... by Daniel Black

MDEV-27791: rocksdb_log_dir test postfix

We can only remove a subdirectory in mtr on an installed instance

Example failure previously:

CURRENT_TEST: rocksdb.rocksdb_log_dir
mysqltest: At line 15: Path '/usr/local/mariadb-10.9.0-linux-systemd-x86_64/mysql-test/var/tmp/1' is not a subdirectory of MYSQLTEST_VARDIR '/usr/local/mariadb-10.9.0-linux-systemd-x86_64/mysql-test/var/1'or MYSQL_TMP_DIR '/usr/local/mariadb-10.9.0-linux-systemd-x86_64/mysql-test/var/tmp/1'

1ac87d6... by Xinyi Hong <email address hidden>

MDEV-27791: Create a new MyRocks parameter rocksdb_log_dir

Parameter rocksdb_log_dir specifies the path of MyRocks error logs.

By default, the error logs are stored in the same folder with MyRocks
redo logs. Being able to put human readable logs in one place and
machine logs in another place improves usability.

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.

ef8d203... by Monty <email address hidden>

Added scripts/wsrep_sst_backup to .gitignore

22f7190... by Monty <email address hidden>

MDEV-28074 mysqldump --order-by-size

Author: Erki Aring

161fd2d... by Norio Akagi <email address hidden>

MDEV-28226 Spider: remove #ifdef HANDLER_HAS_NEED_INFO_FOR_AUTO_INC

6cb6ba8... by Marko Mäkelä

Merge 10.8 into 10.9

b2baeba... by Marko Mäkelä

Merge 10.7 into 10.8

2d8e38b... by Marko Mäkelä

Merge 10.6 into 10.7

4e1ca38... by Marko Mäkelä

MDEV-26781 InnoDB hangs when using SUX_LOCK_GENERIC

The Shared/Update/Exclusive locks that were introduced in
commit 03ca6495df31313c96e38834b9a235245e2ae2a8 (MDEV-24142)
did not work correctly when a futex-like system call interface
was not available.

On all tested implementations (IBM AIX as well as FreeBSD and GNU/Linux
with the futex interface artificially disabled), the old implementation
would cause hangs in some SPATIAL INDEX tests (innodb_gis suite).
On FreeBSD, a hang was also observed in an encryption test.

We will simply emulate the futex system calls with a single mutex
and two condition variables, one for each wait queue. The condition
variables basically shadow the lock words and are used as wait queues,
just like the futex system calls would be.

The storage overhead of ssux_lock_impl will be increased by 32 bits
when using SUX_LOCK_GENERIC. Compared to the futex-based implementation,
the SUX_LOCK_GENERIC implementation has an overhead of
sizeof(pthread_mutex_t)+2*sizeof(pthread_cond_t).

rw_lock: Remove all SUX_LOCK_GENERIC extensions.

pthread_mutex_wrapper: A simple wrapper of pthread_mutex that
implements srw_spin_mutex and srw_mutex for SUX_LOCK_GENERIC.

srw_mutex_impl: Define this also for SUX_LOCK_GENERIC, but in
that case add the fields mutex, cond.

ssux_lock_impl: Define for SUX_LOCK_GENERIC with a minimal difference:
adding readers_cond.

ff99413... by Marko Mäkelä

MDEV-25975: Merge 10.5 into 10.6