| 1 |
!include ../galera_2nodes.cnf |
| 2 |
|
| 3 |
[mysqld] |
| 4 |
log-bin |
| 5 |
log-slave-updates |
| 6 |
log-bin-compress |
| 7 |
|
| 8 |
[mysqld.1] |
| 9 |
#gtid_domain_id=1 |
| 10 |
wsrep_gtid_mode=ON |
| 11 |
# Maximum allowed wsrep_gtid_domain_id. |
| 12 |
wsrep_gtid_domain_id=4294967295 |
| 13 |
wsrep_trx_fragment_size=1 |
| 14 |
wsrep_trx_fragment_unit='ROWS' |
| 15 |
|
| 16 |
[mysqld.2] |
| 17 |
#gtid_domain_id=2 |
| 18 |
wsrep_gtid_mode=ON |
| 19 |
wsrep_gtid_domain_id=4294967295 |
| 20 |
wsrep_trx_fragment_size=1 |
| 21 |
wsrep_trx_fragment_unit='ROWS' |
| 22 |
#wsrep_gitd_domain_id value will be inherited from donor node (mysqld.1) |
| 23 |
#wsrep_gitd_domain_id=X |