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

Bookie: flush ledger storage after replaying journal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • bookkeeper-server
    • None

    Description

      we need to optimize the bookie startup logic for the case: if a bookie failed after replaying journal again and again.

      • start syncthread before replaying journal, so during journal replaying, the ledger storage could be checkpoint/flushed.
      • after journal finished replaying, trigger a fully flush on ledger storage.

      Attachments

        Activity

          People

            hustlmsp Sijie Guo
            hustlmsp Sijie Guo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: