You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/11/10 08:38:54 UTC

[GitHub] sijie commented on a change in pull request #1802: [branch 4.8] Fix compilation issue introduced by issue #1791

sijie commented on a change in pull request #1802: [branch 4.8] Fix compilation issue introduced by issue #1791
URL: https://github.com/apache/bookkeeper/pull/1802#discussion_r232446248
 
 

 ##########
 File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
 ##########
 @@ -494,6 +494,10 @@ public synchronized boolean isClosed() {
         return getLedgerMetadata().isClosed();
     }
 
+    boolean isHandleWritable() {
+        return !getLedgerMetadata().isClosed();
 
 Review comment:
   The ledgerMetadata is `closed` for a readonly ledger handle.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services