Commit 0c2c5060 authored by Hrishikesh Pathak's avatar Hrishikesh Pathak

adding server info and slot information to debug info

parent b11829f6
......@@ -2014,6 +2014,13 @@ internal T ExecuteSyncImpl<T>(Message message, ResultProcessor<T> processor, Ser
add("Active-Readers", "ar", ar.ToString());
add("Client-Name", "clientName", ClientName);
add("Server-Endpoint", "serverEndpoint", server.EndPoint.ToString());
var hashSlot = message.GetHashSlot(this.ServerSelectionStrategy);
// only add keyslot if its a valid cluster key slot
if (hashSlot != ServerSelectionStrategy.NoSlot)
{
add("CommandKey-Slot", "commandKeySlot", message.GetHashSlot(this.ServerSelectionStrategy).ToString());
}
#if !CORE_CLR
string iocp, worker;
int busyWorkerCount = GetThreadPoolStats(out iocp, out worker);
......
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