Description
I met one issue which will never update znode value successfully when integer overflow (-2147483648) of znode data version using curator to invoke SharedCount#trySetCount(VersionedValue<Integer>, int).
After dig the limitation logic and found that here could be the root cause.
https://github.com/apache/curator/blob/master/curator-recipes/src/main/java/org/apache/curator/framework/recipes/shared/SharedValue.java#L196C7-L196C7
My environment is, curator version: curator-2.10.0, zookeeper version: 3.4.6
Attachments
Issue Links
- blocks
-
HADOOP-18881 ZKDTSM could be stuck when meet znode version overflow
- Open
- is required by
-
ZOOKEEPER-4743 ZOOKEEPER-4743: Increase data version once more when going back to -1 from Integer.MIN_VALUE
- Resolved
- links to