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 2014/05/06 15:19:15 UTC

[jira] [Updated] (BOOKKEEPER-745) Fix for false reports of ledger unreplication during rolling restarts.

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

Ivan Kelly updated BOOKKEEPER-745:
----------------------------------

    Attachment: 0001-Fix-for-false-reports-of-ledger-unreplication-.trunk.patch

rebased to trunk

> Fix for false reports of ledger unreplication during rolling restarts.
> ----------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-745
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-745
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-auto-recovery
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.3.0, 4.2.3
>
>         Attachments: 0001-Fix-for-false-reports-of-ledger-unreplication-.trunk.patch, 0002-Fix-for-false-reports-of-ledger-unreplication-.trunk.patch, 0004-Fix-for-false-reports-of-ledger-unreplication-.trunk.patch, 0006-Fix-for-false-reports-of-ledger-unreplicat.branch4.2.patch
>
>
> The bug occurred because there was no check if rereplication was enabled or not when the auditor came online. When the auditor comes online it does a check of which bookies are up and marks the ledgers on missing bookies as underreplicated. In the false report case, the auditor was running after each bookie was bounced due to the way leader election for the auditor works. And since one bookie was down since you're bouncing the server, all ledgers on that bookie will get marked as underreplicated.



--
This message was sent by Atlassian JIRA
(v6.2#6252)