I guess this is the mailing list discussion you are referring to:
http://s.apache.org/qMw , I couldn't find an open JIRA for this. I
filed a similar issue for client xid:
https://issues.apache.org/jira/browse/ZOOKEEPER-1485



On Wed, Apr 15, 2015 at 1:51 PM, Flavio Junqueira <[email protected]> wrote:
> I was checking checkAndIncVersion in PrepRequestProcessor and we currently
> don't do anything special for wrapping around the version counter of a znode
> in the case it reaches the max int value. The problem is that incrementing
> the max value will give us negative values, and in principle versions are
> non-negative values.
>
> It is unlikely that most applications will hit it ever, but I was wondering
> if this has ever been a problem to anyone, and if there is any jira created
> about it. I searched and couldn't find anything, but I do remember a
> discussion about counters overflowing some time back.
>
> I'd appreciate feedback here.
>
> Thanks,
> -Flavio

Reply via email to