IBM / operator-for-redis-cluster

IBM Operator for Redis Cluster
https://ibm.github.io/operator-for-redis-cluster
MIT License
60 stars 35 forks source link

Redis cluster inservice upgrade is not working with zero downtime #90

Open TANISH-18 opened 1 year ago

TANISH-18 commented 1 year ago

While doing the Redis cluster in-service upgrade from older chart to newer chart. Redis operator is performing the Rolling update shard by shard which is fine. but in one shard it is upgrading the master replicas at once due to which there is disconnection with the application.

can we improve the Rolling update logic such that first it upgrade the replicas of one shard then promote that replica to master and then we upgrade master and new master will join back as replica.?

TANISH-18 commented 1 year ago

(https://github.com/IBM/operator-for-redis-cluster/blob/24f4e428d81e8b30f03b88fb3b31c33e478aa48b/pkg/controller/actions.go#L122)