zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Arshad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario
Date Wed, 22 Feb 2017 14:54:44 GMT

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

Mohammad Arshad updated ZOOKEEPER-2695:
---------------------------------------
    Description: 
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 NullPointerException. 
KeeperException.SystemErrorException should be thrown for all unknown error code.



  was:
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




> 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
>            Assignee: 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 NullPointerException.

> KeeperException.SystemErrorException should be thrown for all unknown error code.



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

Mime
View raw message