-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redis-ha: fix readiness probe for non-connected slaves (#293)
When Redis is running as a slave, don't pass readiness probes until and unless the replica is fully synchronised. This resolves the issue where, when Redis is upgraded, the replica is marked ready while still syncing from the master. This can lead to the master pod being terminated and restarted with no slaves ready to take over from it, leaving the Redis cluster failed until the original primary comes back up again. Signed-off-by: Chris Boot <[email protected]> Co-authored-by: Aaron Layfield <[email protected]>
- Loading branch information
1 parent
2da0f3d
commit f5468dd
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters