Cluster: non-conditional steps of slave failover refactored into a function.
Cluster: non-conditional steps of slave failover refactored into a function.

himoca/redis,MSOpenTech/redis,HunanTV/redis,ksarch-saas/redis,himoca/redis,maodeyi/redis_lua,ksarch-saas/redis,jxwr/redis,louisliangjun/redis,splitice/redis,ramonsnir/redis,spearhead-ea/redis,jxwr/redis,slfs007/mk-redis,himoca/redis,ramonsnir/redis,louisliangjun/redis,splitice/redis,ramonsnir/redis,MSOpenTech/redis,ttuna/msot-redis,MSOpenTech/redis,louisliangjun/redis,splitice/redis,maodeyi/redis_lua,spearhead-ea/redis,HunanTV/redis,slfs007/mk-redis,ksarch-saas/redis,ttuna/msot-redis,maodeyi/redis_lua,jxwr/redis,MSOpenTech/redis,HunanTV/redis,louisliangjun/redis,MSOpenTech/redis,ttuna/msot-redis,xuzhezhaozhao/redis_reading,ksarch-saas/redis,xuzhezhaozhao/redis_reading,HunanTV/redis,slfs007/mk-redis,splitice/redis,spearhead-ea/redis,xuzhezhaozhao/redis_reading,xuzhezhaozhao/redis_reading,ttuna/msot-redis,ttuna/msot-redis