You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And we were performing some resiliency tests on it. So, we deleted a master pod for one of the shards and check how it recovers.
[root@platformtester-k8-master-1-a00061-4b2c09f7b009c1b8 scripts]# kc delete pod rediscluster-node-for-redis-jhd9k
pod "rediscluster-node-for-redis-jhd9k" deleted
The cluster was successfully able to recover, and a replica pod replaced the deleted master pod.
I can't say that I've ever looked at this logic, but that behavior is NOT expected. Will look into it. My guess is we have a bug in the logic that keeps zones in balance and it overcorrected.
I need to test this some more but I was able to reproduce it fairly regularly w/the draft PR. I was unable to reproduce it when using the latest tag however. I was testing this locally on my laptop w/kind. I'm going to test in a real cluster and see what happens. I may have introduced a bug when altering the replica placement logic.
We had a cluster deployed:
And we were performing some resiliency tests on it. So, we deleted a master pod for one of the shards and check how it recovers.
The cluster was successfully able to recover, and a replica pod replaced the deleted master pod.
But if you check, the masters for other shards changed as well. This issue does not occur every time. Is this expected behavior?
The text was updated successfully, but these errors were encountered: