Skip to content

Commit d77caa0

Browse files
author
fanjianye
committed
fix a npe bug after refactor recycler of BookieClient
1 parent 87ca7f3 commit d77caa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/CompletionValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ boolean maybeTimeout() {
8787
}
8888

8989
void timeout() {
90-
errorOut(BKException.Code.TimeoutException);
9190
timeoutOpLogger.registerSuccessfulEvent(latency(),
9291
TimeUnit.NANOSECONDS);
92+
errorOut(BKException.Code.TimeoutException);
9393
}
9494

9595
protected void logResponse(BookkeeperProtocol.StatusCode status, Object... extraInfo) {

0 commit comments

Comments
 (0)