Files
MaxScale/maxscale-system-test/binlog_failover.cpp
Markus Mäkelä d11c78ad80 Format all sources with Uncrustify
Formatted all sources and manually tuned some files to make the code look
neater.
2018-09-10 13:22:49 +03:00

18 lines
793 B
C++

/**
* @file binlog_failover.cpp binlog_failover Test of failover scenarion for binlog router
*
* - setup following configuration:
* - one master
* - two maxscale binlog machines
* - two slaves connected to each maxscale binlog mashine
* - put some date via master
* - block master
* - stop all Maxscale machines with STOP SLAVE command
* - check which Maxscale machine contains most recent data (let's call this machine 'most_recent_maxscale')
* - use CHANGE MASETER on the second Maxscale machine to point it to the Maxscale machine from the previous
* step ('most_recent_maxscale')
* - wait until second Maxscale is in sync with 'most_recent_maxscale' (use SHOW MASTER STATUS)
* - select new master (HOW??)
* - set all Maxscale machines to be a slaves of new master
*/