You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/11 23:07:00 UTC
[jira] [Commented] (CURATOR-431) Stat structure not filled when
using the idiom create().orSetData()
[ https://issues.apache.org/jira/browse/CURATOR-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162198#comment-16162198 ]
ASF GitHub Bot commented on CURATOR-431:
----------------------------------------
GitHub user cammckenzie opened a pull request:
https://github.com/apache/curator/pull/236
CURATOR-431 - Fixed stat population during create
-The stat object was not being populated if the create failed due to the node already existing.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/curator CURATOR-431
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/236.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 #236
----
commit 931f1de5c4f72b71e96ea2071add297194e053bd
Author: Cam McKenzie <ca...@apache.org>
Date: 2017-09-11T22:58:47Z
CURATOR-431 - Fixed stat population during create
-The stat object was not being populated if the create failed due to the node already existing.
----
> Stat structure not filled when using the idiom create().orSetData()
> -------------------------------------------------------------------
>
> Key: CURATOR-431
> URL: https://issues.apache.org/jira/browse/CURATOR-431
> Project: Apache Curator
> Issue Type: Bug
> Components: Client
> Affects Versions: 4.0.0
> Reporter: Andrés Pipicello
> Assignee: Cameron McKenzie
> Attachments: CreateOrSetDataTest.java
>
>
> Hello
> It seems that when using the idiom {{client.create().orSetData()}}, the Stat structure set with {{storingStatIn}} does not get filled if the path already exists.
> I attached a unit test that exemplifies the behaviour.
> Regards
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)