You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2013/01/20 08:36:13 UTC

[jira] [Updated] (BOOKKEEPER-554) fd leaking when move ledger index file

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo updated BOOKKEEPER-554:
---------------------------------

    Attachment: BOOKKEEPER-554.diff

straightforward patch and add reference counting assert in ledger cache test case.
                
> 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
>            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