Unverified Commit 8526e04e authored by Huang Zhw's avatar Huang Zhw Committed by GitHub
Browse files

cluster process publish message only for known nodes. (#8856)

parent 97108845
......@@ -2148,6 +2148,8 @@ int clusterProcessPacket(clusterLink *link) {
hdr->sender, hdr->data.fail.about.nodename);
}
} else if (type == CLUSTERMSG_TYPE_PUBLISH) {
if (!sender) return 1; /* We don't know that node. */
robj *channel, *message;
uint32_t channel_len, message_len;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment