[ 
https://issues.apache.org/jira/browse/CURATOR-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zili Chen updated CURATOR-688:
------------------------------
    Fix Version/s: 5.7.0
                       (was: 5.6.0)

> 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
>            Priority: Major
>             Fix For: 5.7.0
>
>
> 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