[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210182#comment-13210182
 ] 

Sijie Guo commented on BOOKKEEPER-160:
--------------------------------------

actually, I am thinking why we need to put GC thread in EntryLogger. since GC 
thread will communicate with other components such as LedgerCache, EntryLogger, 
it would be better to run GC thread in bookie, just like SyncThread.
                
> bookie server needs to do compaction over entry log files to reclaim disk 
> space
> -------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-160
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-160
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>    Affects Versions: 4.0.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.1.0
>
>         Attachments: BK-160.patch
>
>
> bookie server aggregates entries into entry log file. suppose there is lots 
> of ledgers, each ledger has little messages. so a entry log file would 
> contains messages from lots of different ledgers. if there is only one ledger 
> not be deleted, the entry log file would not be removed, whose occupied disk 
> space could not be reclaimed.

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

        

Reply via email to