mirror of https://mirror.osredm.com/root/redis.git
![]() Process loss of slot ownership in cluster bus
When a node no longer owns a slot, it clears the bit corresponding
to the slot in the cluster bus messages. The receiving nodes
currently don't record the fact that the sender stopped claiming
a slot until some other node in the cluster starts claiming the slot.
This can cause a slot to go missing during slot migration when subjected
to inopportune race with addition of new shards or a failover.
This fix forces the receiving nodes to process the loss of ownership
to avoid spreading wrong information.
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
tmp | ||
cluster.tcl | ||
run.tcl |