• Harkrishn Patro's avatar
    Propagate message to a node only if the cluster link is healthy. (#11752) · ca0b6cae
    Harkrishn Patro authored
    Currently while a sharded pubsub message publish tries to propagate the message across the cluster, a NULL check is missing for clusterLink. clusterLink could be NULL if the link is causing memory beyond the set threshold cluster-link-sendbuf-limit and server terminates the link.
    
    This change introduces two things:
    
    Avoids the engine crashes on the publishing node if a message is tried to be sent to a node and the link is NULL.
    Adds a debugging tool CLUSTERLINK KILL to terminate the clusterLink between two nodes.
    
    (cherry picked from commit fd397568)
    ca0b6cae
debug.c 83.8 KB