You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mohammad Arshad (JIRA)" <ji...@apache.org> on 2017/02/14 13:39:41 UTC

[jira] [Created] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario

Mohammad Arshad created ZOOKEEPER-2695:
------------------------------------------

             Summary: Handle unknown error for rolling upgrade old client new server scenario
                 Key: ZOOKEEPER-2695
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2695
             Project: ZooKeeper
          Issue Type: Bug
          Components: java client
            Reporter: Mohammad Arshad


In Zookeeper rolling upgrade scenario where server is new but client is old, when sever sends error code which is not understood by the client, client throws IllegalArgumentException. Generally IllegalArgumentException is not handled by any of the ZK applications. 

KeeperException.SystemErrorException should be thrown instead of IllegalArgumentException





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)