broadcast a PONG message when slot's migration is over, which may reduce the moved request of clients (#7571)
This commit is contained in:
parent
b6acefddb7
commit
323d92b689
@ -4522,6 +4522,9 @@ NULL
|
||||
"configEpoch updated after importing slot %d", slot);
|
||||
}
|
||||
server.cluster->importing_slots_from[slot] = NULL;
|
||||
/* After importing this slot, let the other nodes know as
|
||||
* soon as possible. */
|
||||
clusterBroadcastPong(CLUSTER_BROADCAST_ALL);
|
||||
}
|
||||
clusterDelSlot(slot);
|
||||
clusterAddSlot(n,slot);
|
||||
|
Loading…
x
Reference in New Issue
Block a user