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/10/11 19:02:45 UTC
[jira] [Commented] (ZOOKEEPER-1695) Inconsistent error code and
type for new errors introduced by dynamic reconfiguration
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792804#comment-13792804 ]
Alexander Shraer commented on ZOOKEEPER-1695:
---------------------------------------------
You mean the fact that the error number is > 100 ? I don't think that the numeric value of the error has any significance, is this described anywhere ? For example EphemeralOnLocalSession was just added after reconfig errors with the value 122.
The comment there says
/** This interface contains the original static final int constants
* which have now been replaced with an enumeration in Code.
> Inconsistent error code and type for new errors introduced by dynamic reconfiguration
> ---------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1695
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1695
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.5.0
> Reporter: Thawan Kooburat
> Priority: Blocker
> Fix For: 3.5.0
>
>
> From KeeperException.Code, RECONFIGINPROGRESS and NEWCONFIGNOQUORUM are declared as system errors. However, their error code suggested that they are API errors.
> We either need to move it to the right type or use the code from the right range
--
This message was sent by Atlassian JIRA
(v6.1#6144)