MXS-1961: Add test case

Added a test case that reproduces the problem.
This commit is contained in:
Markus Mäkelä
2018-07-06 09:44:00 +03:00
parent 690a111f37
commit 4a215b9ca2
3 changed files with 207 additions and 0 deletions

View File

@ -0,0 +1,60 @@
[maxscale]
threads=###threads###
[MySQL-Monitor]
type=monitor
module=mysqlmon
servers= server1, server2, server3
user=maxskysql
passwd= skysql
monitor_interval=1000
detect_standalone_master=true
failcount=1
allow_cluster_recovery=true
auto_failover=true
auto_rejoin=true
replication_user=repl
replication_password=repl
enforce_read_only_slaves=1
verify_master_failure=false
[RW Split Router]
type=service
router= readwritesplit
servers=server1, server2, server3
user=maxskysql
passwd=skysql
[RW Split Listener]
type=listener
service=RW Split Router
protocol=MySQLClient
port=4006
[CLI]
type=service
router=cli
[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default
[server1]
type=server
address=###node_server_IP_1###
port=###node_server_port_1###
protocol=MySQLBackend
[server2]
type=server
address=###node_server_IP_2###
port=###node_server_port_2###
protocol=MySQLBackend
[server3]
type=server
address=###node_server_IP_3###
port=###node_server_port_3###
protocol=MySQLBackend