If a manual failover timed out, abort it. */
| 3460 | |
| 3461 | /* If a manual failover timed out, abort it. */ |
| 3462 | void manualFailoverCheckTimeout(void) { |
| 3463 | if (server.cluster->mf_end && server.cluster->mf_end < mstime()) { |
| 3464 | serverLog(LL_WARNING,"Manual failover timed out."); |
| 3465 | resetManualFailover(); |
| 3466 | } |
| 3467 | } |
| 3468 | |
| 3469 | /* This function is called from the cluster cron function in order to go |
| 3470 | * forward with a manual failover state machine. */ |
no test coverage detected