maria:bb-10.4-MDEV-21483

Last commit made on 2020-05-18
Get this branch:
git clone -b bb-10.4-MDEV-21483 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-21483
Repository:
lp:maria

Recent commits

f5df7ea... by Jan Lindström

MDEV-21483 : Galera MTR tests failed: galera.MW-328A galera.MW-328B

Enable tests with additional galera output to find out actual
reason for test failures.

0a5668f... by varun

MDEV-22556: Incorrect result for window function when using encrypt-tmp-files=ON

The issue here is that end_of_file for encrypted temporary IO_CACHE (used by filesort) is updated
using lseek.
Encryption adds storage overhead and hides it from the caller by recalculating offsets and lengths.
Two different IO_CACHE cannot possibly modify the same file
because the encryption key is randomly generated and stored in the IO_CACHE.
So when the tempfiles are encrypted DO NOT use lseek to change end_of_file.

Further observations about updating end_of_file using lseek
1) The end_of_file update is only used for binlog index files
2) The whole point is to update file length when the file was modified via a different file descriptor.
3) The temporary IO_CACHE files can never be modified via a different file descriptor.
4) For encrypted temporary IO_CACHE, end_of_file should not be updated with lseek

66f1e28... by Marko Mäkelä

Merge 10.3 into 10.4

9e6e435... by Marko Mäkelä

Merge 10.3 into 10.4

We will expose some more std::atomic internals in Atomic_counter,
so that dict_index_t::lock will support the default assignment operator.

38d6218... by Marko Mäkelä

Merge 10.2 into 10.3

4f29d77... by Marko Mäkelä

Merge 10.3 into 10.4

8565126... by Marko Mäkelä

MDEV-18100: Clean up test

3f12a59... by Marko Mäkelä

MDEV-13626: Make test more robust

In commit b1742a5c951633213d756600ee73ba7bfa7800ff we forgot
FLUSH TABLES, potentially causing errors for MyISAM system tables.

fc0960a... by Marko Mäkelä

Merge 10.1 into 10.2

c8dd411... by Marko Mäkelä

MDEV-22544 Inconsistent and Incorrect rw-lock stats

The rw_lock_stats were incorrectly updated.
While global statistics have limited usefulness, we cannot
remove them from a GA version. This contribution is slightly
improving performance in write workloads.