If a manual failover timed out, abort it. */
| 3518 | |
| 3519 | /* If a manual failover timed out, abort it. */ |
| 3520 | void manualFailoverCheckTimeout(void) { |
| 3521 | if (g_pserver->cluster->mf_end && g_pserver->cluster->mf_end < mstime()) { |
| 3522 | serverLog(LL_WARNING,"Manual failover timed out."); |
| 3523 | resetManualFailover(); |
| 3524 | } |
| 3525 | } |
| 3526 | |
| 3527 | /* This function is called from the cluster cron function in order to go |
| 3528 | * forward with a manual failover state machine. */ |
no test coverage detected