maria:bb-10.8-release

Last commit made on 2023-05-24
Get this branch:
git clone -b bb-10.8-release https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.8-release
Repository:
lp:maria

Recent commits

6cca274... by Oleksandr "Sanja" Byelkin

Merge branch '10.6' into 10.8

98de15a... by Marko Mäkelä

Merge bb-10.5-release into bb-10.6-release

c5cf94b... by Marko Mäkelä

MDEV-31234 fixup: Free some UNDO pages earlier

trx_purge_truncate_rseg_history(): Add a parameter to specify if
the entire rollback segment is safe to be freed. If not, we may
still be able to invoke trx_undo_truncate_start() and free some pages.

e5933b9... by Marko Mäkelä

MDEV-31234 related cleanup

trx_purge_free_segment(), trx_purge_truncate_rseg_history():
Replace some unreachable code with debug assertions.
A buffer-fix does prevent pages from being evicted
from the buffer pool; see buf_page_t::can_relocate().

Tested by: Matthias Leich

3749296... by Marko Mäkelä

Merge 10.5 into 10.6

e0084b9... by Marko Mäkelä

MDEV-31234 InnoDB does not free UNDO after the fix of MDEV-30671

trx_purge_truncate_history(): Only call trx_purge_truncate_rseg_history()
if the rollback segment is safe to process. This will avoid leaking undo
log pages that are not yet ready to be processed. This fixes a regression
that was introduced in
commit 0de3be8cfdfc26f5c236eaefe12d03c7b4af22c8 (MDEV-30671).

trx_sys_t::any_active_transactions(): Separately count XA PREPARE
transactions.

srv_purge_should_exit(): Terminate slow shutdown if the history size
does not change and XA PREPARE transactions exist in the system.
This will avoid a hang of the test innodb.recovery_shutdown.

Tested by: Matthias Leich

2668d59... by Oleksandr "Sanja" Byelkin

Merge branch '10.6' into 10.8

a24f2bb... by Sergey Petrunia

MDEV-31199: Assertion `field->table->stats_is_read' fails with hash_join_cardinality=on

Derived table creation code would call Field::make_new_field() which would
memcpy the Field object from the source table, including Field::read_stats.

But the temp. table as a whole had table->stats_is_read=false. Which was
correct but not consistent with Field::read_stats and caused an assertion.

Fixed by making sure that Field::read_stats=NULL for fields in the new
temporary (i.e. work) tables.

5f5f743... by Oleksandr "Sanja" Byelkin

Merge branch '10.6' into 10.8

1c39479... by Oleksandr "Sanja" Byelkin

Merge branch '10.5' into 10.6