Apache9 commented on code in PR #5275:
URL: https://github.com/apache/hbase/pull/5275#discussion_r1247903712
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java:
##########
@@ -346,16 +342,14 @@ public AsyncScanSingleRegionRpcRetryingCaller(Timer
retryTimer, AsyncConnectionI
this.controller = conn.rpcControllerFactory.newController();
this.controller.setPriority(priority);
this.exceptions = new ArrayList<>();
+ this.pauseManager =
Review Comment:
OK, here the nextCallStartNs can be changed.
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncBatchRpcRetryingCaller.java:
##########
@@ -182,6 +178,8 @@ public AsyncBatchRpcRetryingCaller(Timer retryTimer,
AsyncConnectionImpl conn,
}
this.action2Errors = new IdentityHashMap<>();
this.startNs = System.nanoTime();
+ this.pauseManager =
+ new HBaseServerExceptionPauseManager(pauseNs,
pauseNsForServerOverloaded, operationTimeoutNs);
Review Comment:
Why not also put startNs in HBaseServerExceptionPauseManager :)
--
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]