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

Kezhu Wang resolved CURATOR-688.
--------------------------------
      Assignee: Kezhu Wang
    Resolution: Fixed

master: a9a8020918c345fb6c3c0a099a27189cbd7cf819

> 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
>            Assignee: Kezhu Wang
>            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