Minor refactoring
Aborting if none of binlog servers succeeds
Supporting GTID based fast master switch (Binlog Dump GTID)
Adding an argument --ignore_binlog_server_error. With this option,
MHA does not abort even if none of binlog server succeeds
Supporting GTID failover based on auto position.
Updating test cases
Updating GTID based master failover algorithm.
Adding a new parameter use_gtid_auto_pos (default 1)
gtid off || gtid_executed==empty
=> normal failover without gtid
gtid on && gtid_executed && (Auto_Position==1 || gtid_use_auto_position (default 1))
=> gtid failover with auto_pos enabled
else
=> normal failover