Debian Codegraph @

mysql-test/suite/rpl/t/rpl_parallel.test

raw
1 #Want to skip this test from daily Valgrind execution
2 --source include/no_valgrind_without_big.inc
3 --source include/not_have_privilege_checks_user.inc
4 #
5 # WL#5569 MTS
6 #
7 # The test checks correctness of replication and can be used for
8 # benchmarking and comparision with results of its sequential
9 # counterpart rpl_sequential.test.
10 # Both tests leave mysqld.2/data/test/delta.out file
11 # that contains a row with two columns.
12 # 1. the duration (in seconds) of execution on the master
13 # 2. the duration of execution on the slave
14 # The 2nd column of the rpl_parallel can be compared with the 2nd of rpl_sequential.test.
15 #
16 # The duration recorded in the file accounts the SQL thread/workers work.
17 # That is benchmarking on the slave side is effectively started with
18 # `start slave sql_thread'.
19 # Example of usage.
20 # To gather a collection of figures:
21 # mysql-test$ export slave;
22 # mysql-test$ slave=parallel; for n in `seq 1 10`;
23 # do ./mtr --vardir=/dev/shm/var1 --mtr-build-thread=765 rpl_$slave
24 # --mysqld=--binlog-format=statement;
25 # find /dev/shm/var1 -name delta.out -exec cat {} \; | cat >> delta.$slave.log;
26 # done
27 #
28 # mysql-test$ slave=sequential; ...
29 #
30 # In the end there will be mysql-test/delta.{parallel,sequential}.log files.
31 #
32 --source include/not_group_replication_plugin.inc
33 --source include/not_rpl_gtid_only.inc
34 --source include/master-slave.inc
35
36 connection master;
37 source extra/rpl_tests/rpl_parallel_load.test;
38
39 --source include/rpl_end.inc