diff --git a/src/cluster.c b/src/cluster.c index c90112460..35b6a5b45 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1086,6 +1086,9 @@ int clusterProcessPacket(clusterLink *link) { clusterNodeRemoveSlave(sender->slaveof,sender); clusterNodeAddSlave(master,sender); sender->slaveof = master; + + /* Update config. */ + update_config = 1; } } }