[
https://issues.apache.org/jira/browse/BOOKKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574258#comment-13574258
]
Sijie Guo commented on BOOKKEEPER-554:
--------------------------------------
> getFileInfo never returns null,
getFileInfo would throw exception. so we had to check null in finally block.
> fd leaking when move ledger index file
> --------------------------------------
>
> Key: BOOKKEEPER-554
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-554
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-server
> Affects Versions: 4.2.0
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.3.0
>
> Attachments: BOOKKEEPER-554.diff
>
>
> a file info is get when moving ledger index, but it doesn't release after
> use. so the reference counting for file info stays more than zero, the file
> channel would never be closed even the file is evicted from ledger cache.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira