Bookie code is very coupled
---------------------------
Key: BOOKKEEPER-175
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-175
Project: Bookkeeper
Issue Type: Improvement
Reporter: Ivan Kelly
Assignee: Ivan Kelly
Fix For: 4.1.0
Bookie owns EntryLogger, LedgerCache, LedgerDescriptors which all depend on
each other in strange ways. Sometimes we access the ledgerCache directly,
sometimes through LedgerDescriptors. etc, etc. It's messy and there's no
hierarchy.
I propose that we refactor Bookie to only contain the EntryLogger and
journalling code (this should be factored at some stage also). The EntryLogger
can then own the ledgerCache and the LedgerDescriptors, and then we would how
have to have the entanglement as observed on BOOKKEEPER-160.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira