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

Dan Benediktson commented on ZOOKEEPER-2879:
--------------------------------------------

IIRC, the unique server ID is also used as part of ensuring that the session 
IDs generated on any given server are guaranteed to be unique. If that is 
violated, you can see very strange behavior (refer to ZOOKEEPER-2504, where I 
submitted a patch for ensuring the leader permitted at most one server with a 
given ID at a time, to prevent that strange behavior).

> 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)

Reply via email to