reddycharan commented on a change in pull request #892: Misc LedgerHandle
changes
URL: https://github.com/apache/bookkeeper/pull/892#discussion_r157919917
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
##########
@@ -204,7 +204,7 @@ public void safeRun() {
}
protected void initializeExplicitLacFlushPolicy() {
- if (!metadata.isClosed() && bk.getExplicitLacInterval() > 0) {
+ if (!metadata.isClosed() && !(this instanceof ReadOnlyLedgerHandle) &&
bk.getExplicitLacInterval() > 0) {
Review comment:
yep, I missed this fix. Caught this while porting changes from community to
our codebase, but forgot to push it back to the community.
----------------------------------------------------------------
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