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

provide a bookie store interface.

    XMLWordPrintableJSON

Details

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

    Description

      Currently, Bookie does a lot of things, managing storage, managing bookie state (readonly or shutdown), handling zookeeper connections. It would be better to put SyncThread, Journal and LedgerStorage under a bookie store interface. so bookie just interacts with BookieStore for storage, interacts with ZooKeeper for membership management and manage the state transition through a StateTransitor (turn to readonly or shutdown).

      A BookieStore interface is easy to evaluate storage performance itself, and easy for plugging different storage implementation in future.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: