mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Cluster: send a single UPDATE packet for now.
This commit is contained in:
parent
d289c628b1
commit
28071caf38
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user