There is three servers. I setup it with mariadb replication and maxscale R/W splitting router.
server2 -> server3 -> server1
The master is server2. The server3 is intermediate database. The server1 is a slave.
If the server2 was failed, writing queries failover to server3.
If the server2 came back, writing queries failback to server2.
And It will occur replication error on the server3.
I don't want this behavior.
I want option to fix the master node.