Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis-ha: fix readiness probe for non-connected slaves #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 22, 2024

  1. redis-ha: fix readiness probe for non-connected slaves

    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]>
    bootc committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    32f960c View commit details
    Browse the repository at this point in the history