You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2014/12/09 21:32:12 UTC

[jira] [Created] (BOOKKEEPER-822) Make LedgerMetadata Immutable

Ivan Kelly created BOOKKEEPER-822:
-------------------------------------

             Summary: Make LedgerMetadata Immutable
                 Key: BOOKKEEPER-822
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-822
             Project: Bookkeeper
          Issue Type: Bug
            Reporter: Ivan Kelly
             Fix For: 4.4.0, 4.3.1


Mutable metadata has been a very rich source of bugs. There are multiple processing modifying for rebuilding ensembles, closing, fencing, autorecovery etc.

The local metadata should be a mirror of the metadata in zookeeper. So we should only modify the local metadata as a whole. The first part of this is making it immutable, so that it can only be modified with a builder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)