[
https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308454#comment-17308454
]
Jian Wang commented on ZOOKEEPER-2504:
--------------------------------------
I don't think we should limit the observer serverid, the observer number
should be unlimited and should not have a serverid.
> Enforce that server ids are unique in a cluster
> -----------------------------------------------
>
> Key: ZOOKEEPER-2504
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Dan Benediktson
> Assignee: Michael Han
> Priority: Major
> Fix For: 3.8.0
>
> Attachments: ZOOKEEPER-2504.patch
>
>
> The leader will happily accept connections from learners that have the same
> server id (i.e., due to misconfiguration). This can lead to various issues
> including non-unique session_ids being generated by these servers.
> The leader can enforce that all learners come in with unique server IDs; if a
> learner attempts to connect with an id that is already in use, it should be
> denied.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)