Xiaoqiao He created CURATOR-688:
-----------------------------------

             Summary: SharedCount will be never updated successful when version 
of ZNode is overflow
                 Key: CURATOR-688
                 URL: https://issues.apache.org/jira/browse/CURATOR-688
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
            Reporter: Xiaoqiao He


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to