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

provide a bookie store interface.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: bookkeeper-server
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              hustlmsp Sijie Guo

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment