Originally MHA checks master's reachability by just connecting via SSH and exiting with return code 0. This in some cases does not work especially if SSH works but data files are not accessible. In this fix, MHA checks master's ssh reachability by executing save_binary_logs command (dry run). MHA Manager also needs to be updated to 0.53.
Originally MHA checks master's reachability by just connecting via SSH and exiting with return code 0. This in some cases does not work especially if SSH works but data files are not accessible. In this fix, MHA checks master's ssh reachability by executing save_binary_logs command (dry run). MHA Manager also needs to be updated to 0.53.
Fix: https://github.com/yoshinorim/mha4mysql-node/commit/f97d7fdb0e21a3a3bd5456382f2ad640a5a14781 https://github.com/yoshinorim/mha4mysql-node/commit/839251e98101eee3f87d05ba39a5389fe56c8666