You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2013/02/09 06:09:12 UTC

[jira] [Created] (BOOKKEEPER-566) provide a bookie store interface.

Sijie Guo created BOOKKEEPER-566:
------------------------------------

             Summary: provide a bookie store interface.
                 Key: BOOKKEEPER-566
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-566
             Project: Bookkeeper
          Issue Type: Improvement
          Components: bookkeeper-server
            Reporter: Sijie Guo
             Fix For: 4.3.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira