mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +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",
|
"an UPDATE message about %.40s\n",
|
||||||
sender->name, server.cluster->slots[j]->name);
|
sender->name, server.cluster->slots[j]->name);
|
||||||
clusterSendUpdate(sender->link,server.cluster->slots[j]);
|
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