Sentinel: sentinelResetMaster() new flag to avoid removing set of sentinels.
Sentinel: sentinelResetMaster() new flag to avoid removing set of sentinels.

This commit also removes some dead code and cleanup generic flags.

jqk6/redis,quangnguyen90/redis,ideaar/redis,sidsen/redis,liqiang199105/redis,jqk6/redis,powerumc/MyRedis,nandhanurrevanth/redis,powerumc/MyRedis,powerumc/MyRedis,adamweixuan/redis,alpha8/redis,kts12345/redis,Cybermaxs/redis,janeasystems/redis,adamweixuan/redis,enginekit/redis,kolonse/redis,alpha8/redis,damy/redis,nandhanurrevanth/redis,janeasystems/redis,ScottKaiGu/redis,jaambee/redis,upsoft/redis,jqk6/redis,sidsen/redis,shanegxxiao/redis,powerumc/MyRedis_old,jacklee0810/redis,kolonse/redis,StartTheShift/redis-shift,nandhanurrevanth/redis,Jonavin/redis,sidsen/redis,liqiang199105/redis,crask/redis-cutter,hanmichael/redis,miminus/redis,ideaar/redis,ScottKaiGu/redis,damy/redis,hanmichael/redis,adamweixuan/redis,adamweixuan/redis,jaambee/redis,laurencee/redis,erwin00776/redis-2.8-optimize,jacklee0810/redis,ScottKaiGu/redis,jacklee0810/redis,erwin00776/redis-2.8-optimize,fanxu/redis,LittlePeng/redis,alpha8/redis,upsoft/redis,sidsen/redis,ideaar/redis,crask/redis-cutter,hanmichael/redis,nandhanurrevanth/redis,powerumc/MyRedis_old,shanegxxiao/redis,nandhanurrevanth/redis,enginekit/redis,upsoft/redis,shanegxxiao/redis,kolonse/redis,sidsen/redis,fanxu/redis,quangnguyen90/redis,ideaar/redis,shanegxxiao/redis,jaambee/redis,adamweixuan/redis,quangnguyen90/redis,Cybermaxs/redis,fanxu/redis,alpha8/redis,alpha8/redis,jqk6/redis,shanegxxiao/redis,sidsen/redis,LittlePeng/redis,fanxu/redis,ScottKaiGu/redis,janeasystems/redis,laurencee/redis,ScottKaiGu/redis,Cybermaxs/redis,powerumc/MyRedis_old,janeasystems/redis,oaastest/redis,StartTheShift/redis-shift,enginekit/redis,StartTheShift/redis-shift,Jonavin/redis,jacklee0810/redis,damy/redis,laurencee/redis,miminus/redis,kts12345/redis,oaastest/redis,erwin00776/redis-2.8-optimize,ideaar/redis,jaambee/redis,miminus/redis,kts12345/redis,miminus/redis,upsoft/redis,enginekit/redis,kolonse/redis,kolonse/redis,erwin00776/redis-2.8-optimize,liqiang199105/redis,quangnguyen90/redis,Cybermaxs/redis,liqiang199105/redis,enginekit/redis,oaastest/redis,liqiang199105/redis,oaastest/redis,hanmichael/redis,jqk6/redis,crask/redis-cutter,upsoft/redis,kts12345/redis,LittlePeng/redis,laurencee/redis,Jonavin/redis,laurencee/redis,jacklee0810/redis,Jonavin/redis,miminus/redis,powerumc/MyRedis_old,kts12345/redis,Jonavin/redis,damy/redis,oaastest/redis,hanmichael/redis,damy/redis,quangnguyen90/redis,janeasystems/redis,jaambee/redis,Cybermaxs/redis