Commit 28071caf authored by antirez's avatar antirez
Browse files

Cluster: send a single UPDATE packet for now.

parent d289c628
......@@ -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;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment