You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by "AnonHxy (via GitHub)" <gi...@apache.org> on 2023/01/31 08:28:48 UTC
[GitHub] [bookkeeper] AnonHxy commented on a diff in pull request #3758: Fix ReadEntryProcessor v2 SchedulingDelayStats
AnonHxy commented on code in PR #3758:
URL: https://github.com/apache/bookkeeper/pull/3758#discussion_r1091592319
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PacketProcessorBase.java:
##########
@@ -166,8 +166,14 @@ protected void sendResponseAndWait(int rc, Object response, OpStatsLogger statsL
@Override
public void run() {
- requestProcessor.getRequestStats().getWriteThreadQueuedLatency()
- .registerSuccessfulEvent(MathUtils.elapsedNanos(enqueueNanos), TimeUnit.NANOSECONDS);
+ if (this instanceof ReadEntryProcessor) {
Review Comment:
OK. It makes senses to me. This could uniform the code style. Updated @hangc0276
--
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: commits-unsubscribe@bookkeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org