redis/tests/unit/cluster
Harkrishn Patro ca0b6caeed Propagate message to a node only if the cluster link is healthy. (#11752)
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 fd3975684a)
2023-02-28 18:32:34 +02:00
..
announced-endpoints.tcl [BUG] Fix announced ports not updating on local node when updated at runtime (#10745) 2022-12-12 17:36:34 +02:00
links.tcl Propagate message to a node only if the cluster link is healthy. (#11752) 2023-02-28 18:32:34 +02:00
misc.tcl Fix assertion when a key is lazy expired during cluster key migration (#11176) 2022-09-21 22:42:01 +03:00