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/06/12 17:33:42 UTC
[jira] [Commented] (BOOKKEEPER-248) Rereplicating of under
replicated data
[ 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