Run extracting ledger id from entry log files to speed up bookie restart
------------------------------------------------------------------------
Key: BOOKKEEPER-141
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-141
Project: Bookkeeper
Issue Type: Improvement
Components: bookkeeper-server
Affects Versions: 4.0.0
Reporter: Sijie Guo
Assignee: Sijie Guo
Fix For: 4.1.0
Currently bookie server do extracting ledger id from entry log files when
creating a new entry log.
When we have lots of entry logs, we have to scan all these entry log files,
then bookie server will be blocked until finished extraction.
But it is not necessary. Since extraction is only for garbage collection, we
can do extraction in GC thread before gc entry log files.
--
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