Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-141

Run extracting ledger id from entry log files in GC thread to speed up bookie restart

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.1.0
    • bookkeeper-server
    • None

    Description

      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.

      Attachments

        1. BOOKKEEPER-141.patch
          4 kB
          Sijie Guo

        Activity

          People

            ikelly Ivan Kelly
            hustlmsp Sijie Guo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: