ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-728

make use of "protocolVersion" during session est

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: server
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Hunt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development