• Jérôme Loyet's avatar
    Add replica-announced config option (#8653) · 91f4f416
    Jérôme Loyet authored
    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.
    91f4f416
10-replica-priority.tcl 2.73 KB