maria:bb-10.6-elenst

Last commit made on 2022-04-04
Get this branch:
git clone -b bb-10.6-elenst https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.6-elenst
Repository:
lp:maria

Recent commits

ec9a527... by Elena Stepanova

FreeBSD build test

28116ca... by Daniel Black

MDBF-348: innodb aix htm support

CMAKE_SYSTEM_PROCESSOR on AIX is "powerpc". To
deconflict with the Linux 32bit arch of the same
name, CMAKE_SYSTEM_NAME was used in the CMakeLists.txt
test to enable -mhtm in the same way that was required
for Linux ppc64{,le} compilers in MDEV-27936

0a573e7... by Marko Mäkelä

Merge 10.5 into 10.6

7d7bdd4... by Marko Mäkelä

MDEV-28185 InnoDB generates redundant log checkpoints

The comparison on the checkpoint age (number of log bytes
written since the previous checkpoint) is inaccurate, because
the previous FILE_CHECKPOINT record could span two 512-byte
log blocks, which will cause the LSN to increase by the size of the
log block header and footer.

We will still generate a redudant checkpoint if the previous
checkpoint wrote some FILE_MODIFY records before the FILE_CHECKPOINT
record.

d875c50... by Marko Mäkelä

MDEV-17841 fixup: GCC -Wmaybe-uninitialized

Let us remove a redundant condition when the S3 plugin is disabled
during compilation time.

792972a... by Marko Mäkelä

MDEV-27234 fixup with MDEV-27557

Whenever we retrieve an older version for READ COMMITTED,
it is better to release the undo page latches
so that we can freely move to the next clustered index record
without potentially violating any latching order.

b242c31... by Marko Mäkelä

Merge 10.5 into 10.6

42609c2... by Marko Mäkelä

Cleanup: Replace log_sys.n_pending_checkpoint_writes with a Boolean

Only one checkpoint may be in progress at a time.
The counter log_sys.n_pending_checkpoint_writes
was being protected by log_sys.mutex.
Let us replace it with the Boolean log_sys.checkpoint_pending.

b7016bd... by Marko Mäkelä

MDEV-26626 fixup: SIGFPE during startup

srv_start(): Set srv_startup_is_before_trx_rollback_phase before
starting the buf_flush_page_cleaner() thread, so that it will not
invoke log_checkpoint() before the log file has been created.

This race condition was reproduced with https://rr-project.org.
This fixes up commit 15efb7ed48265b8d40897a13c0b8e09c6bdd34c9

c14f60a... by Marko Mäkelä

Fix g++-12 -O2 -Wstringop-overflow

buf_pool_t::watch_unset(): Reorder some code so that
no warning will be emitted in CMAKE_BUILD_TYPE=RelWithDebInfo.
It is unclear why invoking watch_is_sentinel() before
buf_fix_count() would make the warning disappear.