mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05: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…
Reference in New Issue
Block a user