mirror of
https://github.com/MariaDB/server.git
synced 2025-05-13 01:01:44 +03:00
mysql-test/include/circular_rpl_for_4_hosts_init.inc: The primitive for 4 hosts non-cluster circular replication mysql-test/include/circular_rpl_for_4_hosts_sync.inc: The primitive for sync for 4 hosts non-cluster circular replication mysql-test/include/ndb_master-slave_2ch.inc: The primitive for initialization of two-channel cluster replication mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result: Result file mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt: Options file mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt: Options file mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test: The test case for non-cluster circular replication A->B->C->D->A mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result: Result file mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt: Options file mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt: Options file mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test: The test case for cluster circular replication by two channels
24 lines
673 B
PHP
24 lines
673 B
PHP
#############################################################
|
|
#
|
|
# Author: Serge Kozlov <skozlov@mysql.com>
|
|
# Date: 03/11/2008
|
|
# Purpose: Sync all hosts for circular replication based on
|
|
# schema A->B->C->D->A
|
|
#
|
|
# Notes: see include/circular_rpl_for_4_hosts_init.inc
|
|
#
|
|
#############################################################
|
|
|
|
# Make the full loop of sync
|
|
--connection master_a
|
|
--disable_query_log
|
|
--sync_slave_with_master master_b
|
|
--sync_slave_with_master master_c
|
|
--sync_slave_with_master master_d
|
|
--sync_slave_with_master master_a
|
|
--sync_slave_with_master master_b
|
|
--sync_slave_with_master master_c
|
|
--save_master_pos
|
|
--connection master_a
|
|
--enable_query_log
|