Add debug logging for registration response routing

Add glog.V(3) and glog.V(2) logs to track successful and dropped registration
responses in handleIncoming, helping diagnose registration issues in production.
This commit is contained in:
Chris Lu committed 2025-12-22 00:35:20 -08:00
1 parent 5e258a5ce7
commit 324a292f9c
1 file changed
+2
+2
View File
@@ -428,7 +428,9 @@ func handleIncoming(
if rr := msg.GetRegistrationResponse(); rr != nil {
select {
case regWait <- rr:
glog.V(3).Infof("REGISTRATION RESPONSE: Worker %s routed registration response to waiter", workerID)
default:
glog.V(2).Infof("REGISTRATION RESPONSE DROPPED: Worker %s registration response dropped (no waiter)", workerID)
}
}