maria:bb-10.2-MDEV-12465

Last commit made on 2018-05-17
Get this branch:
git clone -b bb-10.2-MDEV-12465 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.2-MDEV-12465
Repository:
lp:maria

Recent commits

a4107da... by Oleksandr "Sanja" Byelkin

MDEV-12465: Server crashes in my_scan_weight_utf8_bin upon collecting stats for RocksDB table

Do not use "only index read" in analyzing indices if there is a field which present in the index only partially.

5027532... by Sergei Golubchik

Merge branch '10.2' into bb-10.2-release

bb045e7... by Sergei Golubchik

MDEV-16183 TokuDB tests fail on Fedora 28

jemalloc > 5.0.0 doesn't like to be linked with
a dlopen-ed module.

Don't link tokudb with jemalloc on Fedora 28,
LD_PRELOAD it instead with mysqld_safe
and with systemd.

cb21e11... by Sergei Golubchik

MDEV-16187 Ubuntu Bionic MariaDB has epoch version that makes 10.1 and 10.2 installs fail

a4e7800... by Marko Mäkelä

MDEV-13779 InnoDB fails to shut down purge workers, causing hang

srv_purge_coordinator_thread(): Wait for all purge worker threads
to actually exit. An analysis of a core dump of a hung 10.3 server
revealed that one srv_worker_thread did not exit, even though the
purge coordinator had exited. This caused kill_server_thread and
mysqld_main to wait indefinitely. The main InnoDB shutdown was
never called, because unireg_end() was never called.

ebc2495... by THIRUNARAYANAN BALATHANDAYUTHAPANI

MDEV-13626 Merge InnoDB test cases from MySQL 5.7

Imported the following test case from mysql to MariaDB

1) innodb.alter_kill
2) innodb.alter_foreign_crash
3) innodb.alter_rename_files
4) innodb.analyze_table
5) Appended the case in innodb-online-alter-gis

a54b581... by Shaohua Wang <email address hidden>

BUG#22385442 - INNODB: DIFFICULT TO FIND FREE BLOCKS IN THE BUFFER POOL

Problem:
We keep pinning pages in dict_stats_analyze_index_below_cur(),
but doesn't release these pages. When we have a relative small
buffer pool size, and big innodb_stats_persistent_sample_pages,
there will be no free pages for use.

Solution:
Use a separate mtr in dict_stats_analyze_index_below_cur(),
and commit mtr before return.

Reviewed-by: Jimmy Yang <email address hidden>
RB: 11362

64d6a65... by THIRUNARAYANAN BALATHANDAYUTHAPANI

- Adjusted the test case for MariaDB

0ba299d... by =?utf-8?b?TWFya28gTcOka2Vsw6Q=?= <email address hidden>

Bug#21628087 innodb_log_checkpoint_now not fully compatible with WL#7142

In debug builds of MySQL, there is an configuration variable
that allows an InnoDB log checkpoint to be initiated:

SET GLOBAL innodb_log_checkpoint_now=ON;

Setting this variable while a table-rebuilding ALTER TABLE is executing
may result in an infinite loop.

checkpoint_now_set(): Account for log_sys->append_on_checkpoint->size().
Note that this function contains race conditions, because it is accessing
fields of log_sys without holding log_sys->mutex. We think that this is
acceptable, because this variable only exists for debugging purposes, in
debug builds of MySQL.

RB: 9947
Reviewed-by: Sunny Bains <email address hidden>

be465cf... by THIRUNARAYANAN BALATHANDAYUTHAPANI

Move the test case from innodb.alter_page_size
to innodb.innodb-online-alter-gis