Skip to content

Commit

Permalink
[branch 4.8] Fix compilation issue introduced by issue apache#1791
Browse files Browse the repository at this point in the history
*Motivation*

when apache#1791 is cherry-picked into branch-4.8, it breaks the build.

*Changes*

Fix the compilation issue.
  • Loading branch information
sijie committed Nov 10, 2018
1 parent 5006eeb commit 49993eb
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -494,6 +494,10 @@ public synchronized boolean isClosed() {
return getLedgerMetadata().isClosed();
}

boolean isHandleWritable() {
return !getLedgerMetadata().isClosed();
}

void asyncCloseInternal(final CloseCallback cb, final Object ctx, final int rc) {
try {
doAsyncCloseInternal(cb, ctx, rc);
Expand Down

0 comments on commit 49993eb

Please sign in to comment.