ivankelly commented on a change in pull request #817: Client times out requests
in batch rather than individually
URL: https://github.com/apache/bookkeeper/pull/817#discussion_r156592668
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
##########
@@ -182,6 +184,19 @@ public Integer getSample() {
}
});
initializeExplicitLacFlushPolicy();
+
+ if (bk.getConf().getAddEntryQuorumTimeout() > 0) {
+ SafeRunnable monitor = new SafeRunnable() {
Review comment:
Ah, I didn't know there were two SafeRunnables. Was in the middle of
changing when @jiazhai merged :)
We can change these to use lambdas when we deprecate the old SafeRunnable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services