Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1.1
-
None
-
None
-
None
Description
For the rpc process time calculation, we are using a not-recommended way: Using Time#now to calculate for this.
// Invoke the protocol method long startTime = Time.now(); int qTime = (int) (startTime-receivedTime); .... int processingTime = (int) (Time.now() - startTime); ... server.updateMetrics(detailedMetricsName, qTime, processingTime, false);
Actually we should use Time#monotonicNow() instead. This JIRA will fix these across RpcEngine impl classes.