Skip to content

Commit d56a1f7

Browse files
authored
[cluster] Add node id to log statement for closing link on first message as lightweight (valkey-io#1869)
--------- Signed-off-by: Harkrishn Patro <harkrisp@amazon.com>
1 parent d9ae086 commit d56a1f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cluster_legacy.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3213,7 +3213,8 @@ int clusterProcessPacket(clusterLink *link) {
32133213
freeClusterLink(link);
32143214
serverLog(
32153215
LL_NOTICE,
3216-
"Closing link for node that sent a lightweight message of type %s as its first message on the link",
3216+
"Closing link for node %.40s that sent a lightweight message of type %s as its first message on the link",
3217+
hdr->sender,
32173218
clusterGetMessageTypeString(type));
32183219
return 0;
32193220
}

0 commit comments

Comments
 (0)