[ https://issues.apache.org/jira/browse/CURATOR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158870#comment-14158870 ]
ASF GitHub Bot commented on CURATOR-151: ---------------------------------------- GitHub user dragonsinth opened a pull request: https://github.com/apache/curator/pull/47 CURATOR-151: SharedValue/SharedCount API update You can merge this pull request into a Git repository by running: $ git pull https://github.com/dragonsinth/curator CURATOR-151 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/curator/pull/47.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #47 ---- commit 0bc73191ba0fce5fb28894f8e4124d9d42655b37 Author: Scott Blum <sco...@squareup.com> Date: 2014-10-04T02:04:36Z CURATOR-151: SharedValue/SharedCount API update ---- > SharedValue has limited utility but can be improved > --------------------------------------------------- > > Key: CURATOR-151 > URL: https://issues.apache.org/jira/browse/CURATOR-151 > Project: Apache Curator > Issue Type: Improvement > Components: Recipes > Affects Versions: 2.6.0 > Reporter: Jordan Zimmerman > Assignee: Jordan Zimmerman > Fix For: 2.7.0 > > > Currently, SharedValue has limited utility as the internally managed version > is always used for trySetValue. A good improvement would be a) add an API to > get the current value AND current version and b) add an alternate trySetValue > that takes a new value AND an expected version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)