Unverified Commit 2402f5a7 authored by Madelyn Olson's avatar Madelyn Olson Committed by GitHub
Browse files

Update cluster debug log to include human readable packet type (#9361)

parent 1221f7cd
......@@ -1786,8 +1786,8 @@ int clusterProcessPacket(clusterLink *link) {
if (type < CLUSTERMSG_TYPE_COUNT)
server.cluster->stats_bus_messages_received[type]++;
serverLog(LL_DEBUG,"--- Processing packet of type %d, %lu bytes",
type, (unsigned long) totlen);
serverLog(LL_DEBUG,"--- Processing packet of type %s, %lu bytes",
clusterGetMessageTypeString(type), (unsigned long) totlen);
/* Perform sanity checks */
if (totlen < 16) return 1; /* At least signature, version, totlen, count. */
......
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