Crash because of user request via SENTINEL simulate-failure command. */
| 4377 | |
| 4378 | /* Crash because of user request via SENTINEL simulate-failure command. */ |
| 4379 | void sentinelSimFailureCrash(void) { |
| 4380 | serverLog(LL_WARNING, |
| 4381 | "Sentinel CRASH because of SENTINEL simulate-failure"); |
| 4382 | exit(99); |
| 4383 | } |
| 4384 | |
| 4385 | /* Vote for the sentinel with 'req_runid' or return the old vote if already |
| 4386 | * voted for the specified 'req_epoch' or one greater. |
no test coverage detected