Markus Mäkelä 6befc7f7d4
MXS-2313: Fix candidate selection
If a master with a better rank and a slave with a worse rank were
available and master_accept_reads wasn't enabled, the slave would be
preferred over the master. The check for master_accept_reads was done
twice and also in the wrong place.
2019-03-18 13:12:59 +02:00
..
2018-09-10 13:22:49 +03:00
2019-03-18 13:12:59 +02:00
2018-06-25 10:07:52 +03:00