maria:bb-10.2-MDEV-19746

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

Branch merges

Branch information

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

Recent commits

1891eb4... by Jan Lindström on 2019-07-15

Try #2

c05618f... by Jan Lindström on 2019-07-14

Fix galera_kill_applier test case.

0dc843b... by Jan Lindström on 2019-07-12

Simplified slave thread creation.

Changes
-- Added force-restart option for mtr to always restart servers between tests
-- Added wait_condition_with_debug to wait until the passed statement returns true, or the operation times out. If operation times out, the additional error statement will be executed
-- Rewritten MW-336 test case

62ccfab... by Jan Lindström on 2019-07-11

Fix test problems.

Changes to be committed:
 modified: suite/galera/r/MW-336.result
 modified: suite/galera/t/MW-336.test
 modified: suite/wsrep/t/variables.test

8ec8a65... by Jan Lindström on 2019-07-11

MDEV-19746: Galera test failures because of wsrep_slave_threads identification

Problem was that tests select INFORMATION_SCHEMA.PROCESSLIST processes
from user system user and certain state. However, state could be unexpected.

Added new status variables that store current amount of applier threads
(wsrep_applier_thread_count) and rollbacker threads
(wsrep_rollbacker_thread_count). This will make clear how many slave threads
of certain type there is. Additionally, added THD state "wsrep applier idle"
when applier slave thread is waiting for work.

Modified tests to use wsrep_applier_thread_count when waiting slave threads
to start.

Changes to be committed:
 modified: mysql-test/suite/galera/disabled.def
 modified: mysql-test/suite/galera/r/MW-336.result
 modified: mysql-test/suite/galera/r/galera_var_slave_threads.result
 modified: mysql-test/suite/galera/t/MW-336.test
 modified: mysql-test/suite/galera/t/galera_kill_applier.test
 modified: mysql-test/suite/galera/t/galera_parallel_autoinc_largetrx.test
 modified: mysql-test/suite/galera/t/galera_parallel_autoinc_manytrx.test
 modified: mysql-test/suite/galera/t/galera_var_slave_threads.test
 modified: mysql-test/suite/wsrep/disabled.def
 modified: mysql-test/suite/wsrep/r/variables.result
 modified: mysql-test/suite/wsrep/t/variables.test
 modified: sql/wsrep_mysqld.cc
 modified: sql/wsrep_mysqld.h
 modified: sql/wsrep_thd.cc
 modified: sql/wsrep_var.cc

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