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