HADOOP-18082.Add debug log when RPC#Reader gets a Call. (#3891). Contributed by JiangHua Zhu.

This commit is contained in:
jianghuazhu 2022-02-17 04:19:45 +08:00 committed by GitHub
parent 19d90e62fb
commit 2025243fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3029,6 +3029,9 @@ private void internalQueueCall(Call call, boolean blocking)
} else {
callQueue.add(call);
}
LOG.debug("Call has entered the CallQueue and is waiting to be processed. " +
"Call details: {}", call);
long deltaNanos = Time.monotonicNowNanos() - call.timestampNanos;
call.getProcessingDetails().set(Timing.ENQUEUE, deltaNanos,
TimeUnit.NANOSECONDS);