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 2012/12/11 07:41:21 UTC

[jira] [Updated] (BOOKKEEPER-500) Fencing doesn't work when restarting bookies.

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

Sijie Guo updated BOOKKEEPER-500:
---------------------------------

    Attachment: BOOKKEEPER-500.-testcase.diff

added a test case to produce the issue.
                
> Fencing doesn't work when restarting bookies.
> ---------------------------------------------
>
>                 Key: BOOKKEEPER-500
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-500
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.2.0
>
>         Attachments: BOOKKEEPER-500.-testcase.diff
>
>
> Currently we just record fence state in memory. If the bookies are restarted, all fence states are gone. It would break the correctness that we guarantee about fencing.
> We should record the fence state in the file info to make it persistent.
> A test case added to produce this issue.

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