zymap commented on code in PR #3644:
URL: https://github.com/apache/bookkeeper/pull/3644#discussion_r1022506901


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PacketProcessorBaseV3.java:
##########
@@ -82,6 +82,9 @@ protected void sendResponse(StatusCode code, Object response, 
OpStatsLogger stat
                 requestProcessor.getRequestStats().getChannelWriteStats()
                         
.registerFailedEvent(MathUtils.elapsedNanos(writeNanos), TimeUnit.NANOSECONDS);
                 
statsLogger.registerFailedEvent(MathUtils.elapsedNanos(enqueueNanos), 
TimeUnit.NANOSECONDS);
+                if (response instanceof BookieProtocol.Response) {

Review Comment:
   Doesn't that response is belong to v2 protocol?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to