accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4050) Serialize table configs into a single ZK node
Date Thu, 08 Sep 2016 20:39:21 GMT

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

Michael Miller commented on ACCUMULO-4050:
------------------------------------------

Notes from design discussion...
This change would create:
- hierarchy of configuration containers (provided by the ServerConfigurationFactory)
- Zookeeper observers will update the containers reference to the snapshot
- Access to the configuration will require a call to getSnapshot on the configuration container


A call to getSnapshot on the configuration container returns a hierarchy of immutable snapshots
to be used by the code. In order to get any updates made to the configuration, the code will
required another call to getSnapshot.


> Serialize table configs into a single ZK node
> ---------------------------------------------
>
>                 Key: ACCUMULO-4050
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4050
>             Project: Accumulo
>          Issue Type: Sub-task
>            Reporter: Christopher Tubbs
>            Assignee: Michael Miller
>             Fix For: 2.0.0
>
>
> Use a single ZK node to store table configs, rather than split across multiple configs.
This should make it easier to implement atomic changes to the configuration, and should simplify
reading loading/saving configuration from/to ZooKeeper.



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

Mime
View raw message