You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/04/24 00:38:17 UTC

[jira] [Updated] (ZOOKEEPER-728) make use of "protocolVersion" during session est

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michi Mutsuzaki updated ZOOKEEPER-728:
--------------------------------------

    Fix Version/s:     (was: 3.5.0)
                   3.6.0

> make use of "protocolVersion" during session est
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-728
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-728
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Patrick Hunt
>             Fix For: 3.6.0
>
>
> The current code does not make use of the "protocolVersion" field of the connect request.
> We should increment this when making changes to the client protocol. This would allow the server to 
> accept/deny connections based on looking at the version supported by both the client and server. In some cases
> multiple version combinations might be supported (version 1 or 2 or 3 from a client against a "version 3" server,
> while v3 client against v2 server might fail). We should be sure to log this to the log4j log during connection (debug).
> This might get complex, but if we don't support some combination(s) we should deny the connection and log it
> rather than failing later in some unexpected way.



--
This message was sent by Atlassian JIRA
(v6.2#6252)