tongdun / td-redis-operator

一款强大的云原生redis-operator,经过大规模生产级运行考验,支持分布式集群、支持主备切换等缓存集群解决方案…The powerful cloud-native redis-operator, which has passed the test of large-scale production-level operation, supports distributed clusters and active/standby switching ...
Apache License 2.0
505 stars 89 forks source link

redis集群所有pod同时重启后,无法再组成集群 #25

Open styshoo opened 11 months ago

styshoo commented 11 months ago

现有代码中,重启redis的pod后,在createRedisCluster函数中,podsNotinCluster中的pod逐个向podsInCluster的pod去meet,从而再加入集群。 但是,如果原redis集群中,所有pod同时重启后,podsInCluster中pod的个数为0,不能再meet,也就无法恢复集群了。 请问这种情况,需要如何处理?