[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196741#comment-16196741
 ] 

Ivan Kelly commented on BOOKKEEPER-822:
---------------------------------------

I think this is already done, but moving over to gh anyhow to verify.

> Make LedgerMetadata Immutable
> -----------------------------
>
>                 Key: BOOKKEEPER-822
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-822
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>              Labels: iktriage1
>
> 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.4.14#64029)

Reply via email to