Reidddddd commented on a change in pull request #2585:
URL: https://github.com/apache/hbase/pull/2585#discussion_r513920031
##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
##########
@@ -1254,8 +1255,10 @@ private boolean processAllResponses(final Connection
connection) throws IOExcept
if (call == null) {
return true;
}
+ metrics.removeCallFromResponseQueue(call.response.getRemaining());
Review comment:
```
if (call.connection.responseQueue.isEmpty()) {
// If we're alone, we can try to do a direct call to the socket.
It's
// an optimisation to save on context switches and data
transfer between cores..
if (processResponse(call)) {
return; // we're done.
}
// ..
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]