You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2012/10/08 17:36:02 UTC

[jira] [Updated] (BOOKKEEPER-416) LedgerChecker returns underreplicated fragments for an closed ledger with no entries

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

Ivan Kelly updated BOOKKEEPER-416:
----------------------------------

    Attachment: BOOKKEEPER-416.diff

Fix is simple. If the ledger is closed and the last entry id is an INVALID_ID, it means nothing has been written, therefore don't check the segments.
                
> LedgerChecker returns underreplicated fragments for an closed ledger with no entries
> ------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-416
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-416
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-auto-recovery
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: BOOKKEEPER-416.diff
>
>
> It should return no underreplicated fragments. This causes a problem because as it can never become "fully replicated" as there are no entries to replicate, everything hangs.

--
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