• Moti Cohen's avatar
    Fixed Sentinel support for hostnames (#10146) · 79f089bd
    Moti Cohen authored
    Sentinel tries to resolve instances hostname to IP only during registration. 
    It might be that the instance is unavailable during that time, such as 
    leader crashed and failover took place. Yet, promoted replica must support:
    
     - Register leader, even if it fails to resolve its hostname during failover
     - Try later to resolve it, if instance is disconnected. Note that
       this condition also support ip-change of an instance.
    79f089bd
sentinel.c 206 KB