maria:bb-10.10-mdev-27575

Last commit made on 2023-11-03
Get this branch:
git clone -b bb-10.10-mdev-27575 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.10-mdev-27575
Repository:
lp:maria

Recent commits

fee1730... by Yuchen Pei <email address hidden>

MDEV-27575 Remove thd from spider_db_done

It is unused, and causing segfaults

d9752d8... by Sergei Golubchik

MDEV-31926 UUID v7 are compared incorrectly

According to the standart draft UUIDv6 and UUIDv7 values
must be compared as opaque raw bytes.

Let's only compare with byte-swapping if both values need
byte swapping.

5436b5d... by Sergei Golubchik

cleanup: UUID

* modify the test to use different and not monotonous timestamps
* rename methods to be unambiguous (for IDE challenged devs)
* move byte swap checks into helpers

b9e210b... by Sergei Golubchik

MDEV-32555 wrong result with an index and a partially null-rejecting condition

ref->null_rejecting is a key_part_map. we need to check
the bit corresponding to the particular store_key.
Note that there are no store_key objects for const ref parts.

d2a867c... by Monty <email address hidden>

MDEV-32532 Assertion failure in ddl_log_increment_phase_no_lock upon ..

The reason for the bug was that spider plugin does some ALTER TABLE
commands before recovery is done, which was not expected.

Fixed by resetting the ddl_log lists in create_ddl_log()

0b2fd01... by Yuchen Pei <email address hidden>

MDEV-32485 Fix Spider upgrade failure caused by duplication in mysql.func

15a1168... by Yuchen Pei <email address hidden>

MDEV-32507 Spider: Use $MTR_SUITE_DIR for init-file files

This should fix certain CI builds where the spider suite test files
and the main suite test files do not follow the same relative paths
relations as the mariadb source.

5a8fca5... by Marko Mäkelä

Merge 10.6 into 10.10

b21f52e... by Marko Mäkelä

Merge 10.5 into 10.6

b5e43a1... by Marko Mäkelä

MDEV-32552 Write-ahead logging is broken for freed pages

buf_page_free(): Flag the freed page as modified if it is found in
the buffer pool.

buf_flush_page(): If the page has been freed, ensure that the log
for it has been durably written, before removing the page
from buf_pool.flush_list.

FindBlockX: Find also MTR_MEMO_PAGE_X_MODIFY in order to avoid an
occasional failure of innodb.innodb_defrag_concurrent, which involves
freeing and reallocating pages in the same mini-transaction.

This fixes a regression that was introduced in
commit a35b4ae89871d8184f04abb112c385481d557dbb (MDEV-15528).

This logic was tested by commenting out the $shutdown_timeout line
from a test and running the following:

./mtr --rr innodb.scrub
rr replay var/log/mysqld.1.rr/mariadbd-0

A breakpoint in the modified buf_flush_page() was hit, and the
FIL_PAGE_LSN of that page had been last modified during the
mtr_t::commit() of a mini-transaction where buf_page_free()
had been executed on that page.