Thanks for pointing that out. Make sense to me don't enforce anything for no particular reason (wondering why the doc was mentioning such constraint in first place).
Updated jira descriptions as well. Let's discuss on JIRA on what the best fix might be for this issue. On Fri, Aug 5, 2016 at 9:51 AM, Arshad Mohammad <[email protected] > wrote: > I think there is no benefit in restricting the myid range. Also, in the > code it is taken as long. Better we can updated the document and correct > the ranger from "1-255" to 0-Long.MAX_VALUE > > -Arshad > > On Fri, Aug 5, 2016 at 9:48 PM, Flavio Junqueira <[email protected]> wrote: > > > Thanks, Michael. > > > > -Flavio > > > > > On 05 Aug 2016, at 17:01, Michael Han <[email protected]> wrote: > > > > > > I can't find any JIRA related to this either, so just created one > > > https://issues.apache.org/jira/browse/ZOOKEEPER-2503 > > > > > > On Fri, Aug 5, 2016 at 7:07 AM, Flavio Junqueira <[email protected]> > wrote: > > > > > >> I noticed that the documentation says that the myid value needs to be > > >> between 0 and 255. The code currently does not impose such a > limitation > > and > > >> I also found this thread briefly discussing it: > > >> > > >> https://mail-archives.apache.org/mod_mbox/zookeeper-user/ > > >> 201507.mbox/%3CCABQ=58TqB3ntBY2oW0gDRvDb_XgZh8k99D11GeAf+CdfSJMOhA@ > > >> mail.gmail.com%3E <https://mail-archives.apache. > > >> org/mod_mbox/zookeeper-user/201507.mbox/%3CCABQ=58TqB3ntBY2oW0gDRvDb_ > > >> [email protected]%3E> > > >> > > >> Is anyone aware of a jira for this? I couldn't find any.... > > >> > > >> -Flavio > > > > > > > > > > > > > > > -- > > > Cheers > > > Michael. > > > > > -- Cheers Michael.
