Commit e8aef14c authored by Michi Mutsuzaki's avatar Michi Mutsuzaki
Browse files

ZOOKEEPER-1834. Catch IOException in FileTxnLog (fpj via michim)


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1550006 13f79535-47bb-0310-9956-ffa450edef68
parent b86b1cb4
......@@ -178,6 +178,8 @@ BUGFIXES:
ZOOKEEPER-1019. zkfuse doesn't list dependency on boost in README
(Raul Gutierrez Segales via michim)
ZOOKEEPER-1834. Catch IOException in FileTxnLog (fpj via michim)
IMPROVEMENTS:
ZOOKEEPER-1564. Allow JUnit test build with IBM Java
......
......@@ -627,6 +627,9 @@ public class FileTxnLog implements TxnLog {
}
// if we went to the next log file, we should call next() again
return next();
} catch (IOException e) {
inputStream.close();
throw e;
}
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment