# Use default setting for mysqld processes
!include include/default_mysqld.cnf
!include include/default_client.cnf

[mysqld.1]
gtid-mode=on
enforce-gtid-consistency=on

[mysqld.2]
gtid-mode=on
enforce-gtid-consistency=on
slave-transaction-retries= 0
slave-preserve_commit-order=OFF
slave-parallel-workers=2

[ENV]
MASTER_MYPORT=          @mysqld.1.port
MASTER_MYSOCK=          @mysqld.1.socket
SLAVE_MYPORT=           @mysqld.2.port
SLAVE_MYSOCK=           @mysqld.2.socket
