maria:bb-10.2-MDEV-18027

Last commit made on 2019-07-10
Get this branch:
git clone -b bb-10.2-MDEV-18027 https://git.launchpad.net/maria

Branch merges

Branch information

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

Recent commits

fb27ed9... by Oleksandr Byelkin <email address hidden> on 2019-07-10

MDEV-18027: Running out of file descriptors and eventual crash

For automatic number of opened files limit take into account number of table instances for table cache

64900e3... by Thirunarayanan Balathandayuthapani <email address hidden> on 2019-07-10

MDEV-15641 InnoDB crash while committing table-rebuilding ALTER TABLE

Problem:
========
 There is a possibility that there can be more concurrent DMLs While the
alter table thread is waiting for upgrading to MDL_EXCLUSIVE before commit phase.
In commit phase, InnoDB acquires dict_operation_lock and it already holds MDL_EXCLUSIVE
on the table. After that, InnoDB applies the concurrent DML logs in commit phase.
This could lead to blocking of the following things:

  1) DML on the particular table (due to MDL_EXCLUSIVE on the table)
  2) InnoDB DDLs (due to dict_operation_lock)
  3) Purge thread, stats thread, the master thread (due to dict_operation_lock)

Fix:
====
Apply the concurrent DML logs in commit phase but before acquiring
dict_operation_lock in commit phase. It makes sure that (2), (3) can't be
blocked for longer time.

578e822... by Sergei Golubchik on 2019-06-26

bugfix: RPM installation complains about policy files, mariadb.service is not installed

add a versioned libsepol dependency to the server rpm

ab3a6ca... by Sergei Golubchik on 2019-07-07

cleanup: CPACK_RPM_* package description

add cmake helper macro SET_IF_UNSET()
and use it for CPACK_* variables

e47a143... by Sergei Golubchik on 2019-06-26

package ed25519 in debs

partial backport from 10.3

01d3e39... by Jan Lindström on 2019-07-10

Galera test fixes.

Changes to be committed:
 modified: suite/galera/r/galera_kill_ddl.result
 modified: suite/galera/r/galera_sync_wait_show.result
 modified: suite/galera/t/galera_kill_ddl.test

46c9268... by Eugene on 2019-07-09

post-merge fixes

rebuild galera.galera_as_slave_gtid and multi_source.mdev-8874

4f1e4aa... by Eugene on 2019-07-09

fix clang warnings

26c389b... by Eugene on 2019-07-09

Merge 10.1 into 10.2

b955741... by Jan Lindström on 2019-07-09

Galera test adjustments.

Changes to be committed:
 modified: ../galera/disabled.def
 modified: ../galera/r/GAL-419.result
 modified: ../galera/t/GAL-419.test
 modified: ../galera/t/galera_ist_innodb_flush_logs.test
 modified: ../galera/t/galera_ist_mariabackup_innodb_flush_logs.test