You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alexander Shraer (JIRA)" <ji...@apache.org> on 2013/10/11 02:00:43 UTC
[jira] [Created] (ZOOKEEPER-1790) Deal with special ObserverId in
QuorumCnxManager.receiveConnection
Alexander Shraer created ZOOKEEPER-1790:
-------------------------------------------
Summary: Deal with special ObserverId in QuorumCnxManager.receiveConnection
Key: ZOOKEEPER-1790
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1790
Project: ZooKeeper
Issue Type: Bug
Components: server
Affects Versions: 3.4.6, 3.5.0
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Fix For: 3.4.6, 3.5.0
QuorumCnxManager.receiveConnection assumes that a negative sid means that this is a 3.5.0 server, which has a different communication protocol. This doesn't account for the fact that ObserverId = -1 is a special id that may be used by observers and is also negative.
This requires a fix to trunk and a separate fix to 3.4 branch, where this function is different (see ZOOKEEPER-1633)
--
This message was sent by Atlassian JIRA
(v6.1#6144)