zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2879) Adding observers dynamically without server id
Date Tue, 22 Aug 2017 05:35:02 GMT

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

Michael Han commented on ZOOKEEPER-2879:
----------------------------------------

Session id is required to be unique across ensemble only if the session is global session;
for local sessions I don't think there is a hard requirement for them to be unique since their
scope is limited to each server that hosting the session. Because of this it seems we can
only use this feature when local session is enabled.

> Adding observers dynamically without server id
> ----------------------------------------------
>
>                 Key: ZOOKEEPER-2879
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2879
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: quorum
>    Affects Versions: 3.6.0
>            Reporter: Fangmin Lv
>            Assignee: Fangmin Lv
>
> Dynamic config requires observer has unique server id, which means we cannot simply add
observer with dynamic server id -1. For large observer cluster, it's much more easier to add
observer without unique server id if it doesn't need to be promoted to participant. Also,
it will make dynamic config more efficient, we don't need to store and send the long list
of observers during re-config.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message