Debian Codegraph @

mysql-test/suite/rpl/rpl_1slave_base.cnf

raw
1 # Use default setting for mysqld processes
2 !include include/default_mysqld.cnf
3 !include include/default_client.cnf
4
5 # Set innodb-write-io-threads and innodb-read-io-threads to 2,
6 # instead of the default value 4, so that the aio-max-nr limit is
7 # not exceeded when MTR runs rpl tests with parallel 4 or more due
8 # to increased number of concurrent mysqld instances.
9
10 [mysqld.1]
11
12 # Run the master.sh script before starting this process
13 #!run-master-sh
14
15 log-bin= master-bin
16
17 loose-innodb_write_io_threads= 2
18 loose-innodb_read_io_threads= 2
19
20 [mysqld.2]
21 # Run the slave.sh script before starting this process
22 #!run-slave-sh
23
24 # Append <testname>-slave.opt file to the list of argument used when
25 # starting the mysqld
26 #!use-slave-opt
27
28 log-bin= slave-bin
29 relay-log= slave-relay-bin
30
31 loose-innodb_write_io_threads= 2
32 loose-innodb_read_io_threads= 2
33
34 master-retry-count= 10
35
36 # Values reported by source when a replica has connected and shows up
37 # in SHOW REPLICAS.
38 report-host= 127.0.0.1
39 report-port= @mysqld.2.port
40 report-user= root
41
42 skip-replica-start
43
44 # Directory where slaves find the dumps generated by "load data"
45 # on the server. The path need to have constant length otherwise
46 # test results will vary, thus a relative path is used.
47 replica-load-tmpdir= ../../tmp
48
49
50 [ENV]
51 MASTER_MYPORT= @mysqld.1.port
52 MASTER_MYSOCK= @mysqld.1.socket
53 MASTER_X_MYSOCK= @mysqld.1.loose-mysqlx-socket
54
55 SLAVE_MYPORT= @mysqld.2.port
56 SLAVE_MYSOCK= @mysqld.2.socket
57 SLAVE_X_MYSOCK= @mysqld.2.loose-mysqlx-socket
58