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 (Updated) (JIRA)" <ji...@apache.org> on 2011/10/14 13:20:11 UTC

[jira] [Updated] (BOOKKEEPER-82) support journal rolling

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

Sijie Guo updated BOOKKEEPER-82:
--------------------------------

    Attachment: bookkeeper-82.patch

attach a patch to support rolling journals

1) LogMark should use marked lastMark to safely ensure the entries before lastMark are all persisted.

2) relaying journal can start from last marked log, which can speed up bookie startup

3) bookie.getHandle needs to check whether the ledger existed in current node, not just checking the memory.
                
> support journal rolling
> -----------------------
>
>                 Key: BOOKKEEPER-82
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-82
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>         Attachments: bookkeeper-82.patch
>
>
> now bookkeeper is writing a single journal file, so the journal file has no chance to be garbage collected and the disk space keeps growing.

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