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/01/30 20:15:13 UTC
[jira] [Created] (ZOOKEEPER-1633) Introduce a protocol version to
connection initiation messaage
Alexander Shraer created ZOOKEEPER-1633:
-------------------------------------------
Summary: Introduce a protocol version to connection initiation messaage
Key: ZOOKEEPER-1633
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1633
Project: ZooKeeper
Issue Type: Bug
Components: server
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Fix For: 3.4.6
Currently the first message a server sends to another server is just its id (long). This is in QuorumCnxManager.java. This makes changes to the information passed during this initial connection very difficult. This patch will change the first message to be a protocol number (e.g., a negative number that can't be a server id). The second message will be the number of bytes in the remainder of the message. A 3.4 server will read the first long as before, but if this is a negative number it will read and remove the remainder of the message from the stream. This will not affect 3.4 since the information sent in 3.4 is always a server id. It will provide the necessary flexibility for future releases as well as an upgrade path from 3.4
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira