Fix verify_master_failure

The log message had changed, changed test to match. Also, the remaining
delay is now printed.
This commit is contained in:
Esa Korhonen
2018-10-04 11:28:38 +03:00
parent 86ae0c3e4d
commit 80c731f02a
3 changed files with 17 additions and 12 deletions

View File

@ -241,7 +241,8 @@ private:
std::unique_ptr<ClusterOperation> failover_prepare(Log log_mode, json_t** error_out);
bool failover_perform(ClusterOperation& operation);
const MariaDBServer* slave_receiving_events(const MariaDBServer* demotion_target,
maxbase::Duration* event_age_out);
maxbase::Duration* event_age_out,
maxbase::Duration* delay_out);
bool manual_failover(json_t** output);
void handle_auto_failover();