• Sankar's avatar
    Process loss of slot ownership in cluster bus (#12344) · 1190f25c
    Sankar authored
    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.
    1190f25c
cluster.h 22.2 KB