[
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)