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

Charles Xie updated BOOKKEEPER-815:
-----------------------------------
    Attachment: BOOKKEEPER-815.patch

The problem is when a file info is evicted from ledger cache, the bookie 
forgets to flush header of the file info which cause the fence bit lost.

The fix is pretty easy. Added a test case to reproduce this behavior.

> Ledger fence state is lost when the ledger file is evicted
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-815
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-815
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Charles Xie
>            Priority: Critical
>         Attachments: BOOKKEEPER-815.patch
>
>
> we observed in our use case that when a ledger file is evicted before 
> flushing. the fence state isn't persisted to disk, which would cause fencing 
> doesn't work correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to