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

Matteo Merli commented on BOOKKEEPER-841:
-----------------------------------------

I see, and basically while reading the index we need to read all the available 
ledgers map entries to reconstruct it. 

Sounds good, I'll make these modifications.

> Bookie should calculate ledgers map writing a new entry log file
> ----------------------------------------------------------------
>
>                 Key: BOOKKEEPER-841
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-841
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>            Reporter: Sijie Guo
>            Assignee: Matteo Merli
>             Fix For: 4.4.0
>
>         Attachments: 
> 0001-BOOKKEEPER-841-Bookie-should-calculate-ledgers-map-w.patch
>
>
> Bookie should calculate ledgers map when writing a new entry log file. so the 
> bookie doesn't need to scan that entry log file again, which it would improve 
> garbage collection efficiency 



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

Reply via email to