[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293696#comment-13293696
 ] 

Ivan Kelly commented on BOOKKEEPER-248:
---------------------------------------

>From discussions on other JIRAs, the code here should implement a recovery 
>worker thread. The thread loop should be something like.

{code}
while (true) {
    l = selectLedgerToRecover();
    if (l != null) {
        List<LedgerFragment> fragments = LedgerChecker.checkLedger(l);
        for (LedgerFragment lf : fragments) {
            rereplicateFragment(lf);
        }
    }
    waitForUnderreplicatedLedgers();
}
{code}
                
> Rereplicating of under replicated data
> --------------------------------------
>
>                 Key: BOOKKEEPER-248
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-248
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-client, bookkeeper-server
>            Reporter: Ivan Kelly
>            Assignee: Uma Maheswara Rao G
>
> This subtask discusses how we will rereplicate underreplicated entries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to