Cluster: send a single UPDATE packet for now.

This commit is contained in:
antirez 2013-11-08 17:25:49 +01:00
parent d289c628b1
commit 28071caf38

View File

@ -1210,6 +1210,11 @@ int clusterProcessPacket(clusterLink *link) {
"an UPDATE message about %.40s\n",
sender->name, server.cluster->slots[j]->name);
clusterSendUpdate(sender->link,server.cluster->slots[j]);
/* TODO: instead of exiting the loop send every other
* UPDATE packet for other nodes that are the new owner
* of sender's slots. */
break;
}
}
}