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

Add replica-announced config option #8653

Merged
merged 1 commit into from Mar 30, 2021
Merged

Commits on Mar 19, 2021

  1. Add replica-announced config option

    The 'sentinel replicas <master>' command will ignore replicas with
    replica-announced set to no.
    
    The goal of disabling the config setting replica-announced is to allow ghost
    replicas. The replica is in the cluster, synchronize with its master, can be
    promoted to master and is not exposed to sentinel clients. This way, it is
    acting as a live backup or living ghost.
    
    In addition, to prevent the replica to be promoted as master, set
    replica-priority to 0.
    fatpat committed Mar 19, 2021
    Configuration menu
    Copy the full SHA
    bcea5f4 View commit details
    Browse the repository at this point in the history