mariadb/mysql-test/suite
Brandon Nesterenko 68938d2b42 MDEV-33500 (part 2): rpl.rpl_parallel_sbm can still fail
The failing test case validates Seconds_Behind_Master for a delayed
slave, while STOP SLAVE is executed during a delay. The test fixes
initially added to the test (commit b04c857596) added a table lock
to ensure a transaction could not finish before validating the
Seconds_Behind_Master field after SLAVE START, but did not address a
possibility that the transaction could finish before running the
STOP SLAVE command, which invalidates the validations for the rest
of the test case. Specifically, this would result in 1) a timeout in
“Waiting for table metadata lock” on the replica, which expects the
transaction to retry after slave restart and hit a lock conflict on
the locked tables (added in b04c857596), and 2) that
Seconds_Behind_Master should have increased, but did not.

The failure can be reproduced by synchronizing the slave to the master
before the MDEV-32265 echo statement (i.e. before the SLAVE STOP).

This patch fixes the test by adding a mechanism to use DEBUG_SYNC to
synchronize a MASTER_DELAY, rather than continually increase the
duration of the delay each time the test fails on buildbot. This is
to ensure that on slow machines, a delay does not pass before the
test gets a chance to validate results. Additionally, it decreases
overall test time because the test can continue immediately after
validation, thereby bypassing the remainder of a full delay for each
transaction.
2024-09-17 06:29:20 -06:00
..
archive also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
binlog MDEV-27037 mysqlbinlog emits a warning when reaching EOF before stop-datetime 2024-09-12 08:43:29 -04:00
binlog_encryption MDEV-34318 mariadb-dump SQL syntax error with MAX_STATEMENT_TIME against Percona MySQL server 2024-07-17 21:25:40 +02:00
client
compat also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption MDEV-34670 IMPORT TABLESPACE unnecessary traverses tablespace list 2024-07-31 14:13:38 +05:30
engines Merge 10.4 into 10.5 2024-02-12 11:38:13 +02:00
federated also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
funcs_1 MDEV-34864 SHOW INDEX FROM - SEQ_IN_INDEX to ULong 2024-09-04 17:17:32 +10:00
funcs_2
galera galera mtr tests: minor fixes to make tests more reliable 2024-09-15 05:05:03 +02:00
galera_3nodes galera mtr tests: minor fixes to make tests more reliable 2024-09-15 05:05:03 +02:00
galera_3nodes_sr galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
galera_sr galera mtr tests: correction of inaccuracies in warnings suppressions 2024-07-08 23:36:21 +02:00
gcol fix tests after 349ca2be74 2024-05-08 20:01:17 +02:00
handler Merge branch '10.4' into 10.5 2023-07-27 15:43:21 +02:00
heap
innodb MDEV-34823 Invalid arguments in ib_push_warning() 2024-09-06 14:29:09 +03:00
innodb_fts MDEV-14231 MATCH() AGAINST( IN BOOLEAN MODE), results mismatch 2024-08-13 15:22:09 +05:30
innodb_gis MDEV-32456: incorrect result of gis function in view protocol 2024-07-17 22:37:32 +05:30
innodb_i_s
innodb_zip MDEV-16944 Fix file sharing issues on Windows in mysqltest 2024-04-17 16:52:37 +02:00
jp
json MDEV-19487: JSON_TYPE doesnt detect the type of String Values 2024-04-29 22:32:17 +05:30
large_tests MDEV-16944 Fix file sharing issues on Windows in mysqltest 2024-04-17 16:52:37 +02:00
maria MDEV-22935 Erroneous Aria Index / Optimizer behaviour 2024-06-05 10:29:49 +03:00
mariabackup Skip mariabackup.slave_provision_nolock in --valgrind, it uses a lot of CPU 2024-08-26 14:39:24 +02:00
mtr/t
mtr2
multi_source Merge from 10.4 to 10.5 2024-04-15 17:46:49 +02:00
optimizer_unfixed_bugs
parts MDEV-24610 MEMORY SE: check overflow in info calls with HA_STATUS_AUTO 2024-05-22 09:18:09 +10:00
perfschema sporadic failure of perfschema.func_file_io 2024-05-05 21:37:07 +02:00
perfschema_stress
period MDEV-25370 Update for portion changes autoincrement key in bi-temp table 2024-01-31 16:03:38 +01:00
plugins Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
roles also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
rpl MDEV-33500 (part 2): rpl.rpl_parallel_sbm can still fail 2024-09-17 06:29:20 -06:00
s3 also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
sql_sequence also protect the /*!999999 sandbox comment 2024-07-17 21:25:40 +02:00
storage_engine
stress
sys_vars MDEV-34494 Add server_uid global variable and add it to error log at startup 2024-07-02 11:26:13 +03:00
unit
vcol MDEV-34632 Assertion failed in handler::assert_icp_limitations 2024-08-07 14:50:19 +02:00
versioning Merge 10.4 into 10.5 2024-02-13 14:25:21 +02:00
wsrep Fix recovering state GTID in case log file contains non-text bytes - 2024-09-01 02:52:52 +02:00