Sentinel: remove useless sentinelFlushConfig() call
Sentinel: remove useless sentinelFlushConfig() call

To rewrite the config in the loop that adds slaves back after a master
reset, in order to handle switching to another master, is useless: it
just adds latency since there is an fsync call in the inner loop,
without providing any additional guarantee, but the contrary, since if
after the first loop iteration the server crashes we end with just a
single slave entry losing all the other informations.

It is wiser to rewrite the config at the end when the full new
state is configured.

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