MXS-2609: Add master reconnection test case
The test case covers a few bugs that were fixed by the previous commits. The first part of the test covers the case when master reconnection fails while session command history is being executed. The second part of the test makes sure exceeding the session command history will prevent master reconnections from taking place.
This commit is contained in:
27
maxscale-system-test/cnf/maxscale.cnf.template.mxs2609_history_replay
Executable file
27
maxscale-system-test/cnf/maxscale.cnf.template.mxs2609_history_replay
Executable file
@ -0,0 +1,27 @@
|
||||
[maxscale]
|
||||
threads=###threads###
|
||||
|
||||
###server###
|
||||
|
||||
[MySQL-Monitor]
|
||||
type=monitor
|
||||
module=mariadbmon
|
||||
servers=###server_line###
|
||||
user=maxskysql
|
||||
password=skysql
|
||||
monitor_interval=1000
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
router=readwritesplit
|
||||
servers=###server_line###
|
||||
user=maxskysql
|
||||
password=skysql
|
||||
transaction_replay=true
|
||||
master_accept_reads=true
|
||||
|
||||
[RW-Split-Listener]
|
||||
type=listener
|
||||
service=RW-Split-Router
|
||||
protocol=MySQLClient
|
||||
port=4006
|
Reference in New Issue
Block a user