maria:bb-10.5-MDEV-29967

Last commit made on 2023-05-10
Get this branch:
git clone -b bb-10.5-MDEV-29967 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-MDEV-29967
Repository:
lp:maria

Recent commits

9e1ff04... by Marko Mäkelä

MDEV-29967 innodb_read_ahead_threshold (linear read-ahead) does not work

buf_read_ahead_linear(): Correct some calculations that were broken
in commit b1ab211dee599eabd9a5b886fafa3adea29ae041 (MDEV-15053).

Thanks to Daniel Black for providing a test case and initial debugging.

d821fd7... by Oleksandr "Sanja" Byelkin

Merge branch 'merge-perfschema-5.7' into 10.5

512dbc4... by Oleksandr "Sanja" Byelkin

5.7.42 (only copyright year in all files changed)

902c622... by Marko Mäkelä

Merge 10.4 into 10.5

6fccf8b... by Yuchen Pei

MDEV-29644 post-merge fixup

Applying b98375f instead of 9b32e4b for version 10.5-10.8.
Applying 5075f4e instead of 9b32e4b for version 10.9+.

b942f41... by Sergei Golubchik

MDEV-30218 update test result

followup for d1a46c68cd4

b381742... by Sergei Golubchik

MDEV-11356 Option skip-core-file does not work

remove ancient hard-coded treatment of --core-file. This enables
normal my_getopt behavior for the already existing sysvar

e22a57d... by Andrei <email address hidden>

MDEV-30620 Trying to lock uninitialized LOCK_parallel_entry

The error was seen by a number of mtr tests being caused
by overdue initialization of rpl_parallel::LOCK_parallel_entry.
Specifically, SHOW-SLAVE-STATUS might find in
rpl_parallel::workers_idle() a gtid domain hash entry
already inserted whose mutex had not done
mysql_mutex_init().

Fixed with swapping the mutex init and the its entry's stack insertion.

Tested with a generous number of `mtr --repeat` of a few of the reported
to fail tests, incl rpl.parallel_backup.

a72b2c3... by Sergey Petrunia

MDEV-31121: ANALYZE statement produces 0 for all timings in embedded server

Timers require my_timer_init() call.
It was made only in mysqld_main(). Call it also from init_embedded_server().

50f3b7d... by Marko Mäkelä

MDEV-31124 Innodb_data_written miscounts doublewrites

When commit a5a2ef079cec378340d8b575aef05974b0b3442e
implemented asynchronous doublewrite, the writes via
the doublewrite buffer started to be counted incorrectly,
without multiplying them by innodb_page_size.

srv_export_innodb_status(): Correctly count the
Innodb_data_written.

buf_dblwr_t: Remove submitted(), because it is close to written()
and only Innodb_data_written was interested in it. According to
its name, it should count completed and not submitted writes.

Tested by: Axel Schwenke