• Oran Agra's avatar
    PSYNC2 fix - promoted slave should hold on to it's backlog · 8d9dff84
    Oran Agra authored
    after a slave is promoted (assuming it has no slaves
    and it booted over an hour ago), it will lose it's replication
    backlog at the next replication cron, rather than waiting for slaves
    to connect to it.
    so on a simple master/slave faiover, if the new slave doesn't connect
    immediately, it may be too later and PSYNC2 will fail.
    8d9dff84
replication.c 108 KB