[
https://issues.apache.org/jira/browse/KNOX-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16695167#comment-16695167
]
Kevin Risden commented on KNOX-1621:
------------------------------------
cc - [~pzampino] and [~smore]
> CuratorClientService#createEntry - Avoid race condition when creating znodes
> ----------------------------------------------------------------------------
>
> Key: KNOX-1621
> URL: https://issues.apache.org/jira/browse/KNOX-1621
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1621.patch
>
>
> When looking at KNOX-1619, found that currently the createEntry method
> creates the znode and then sets the data. This can be done in a single
> command to avoid a race condition and getting triggering two updates for any
> watcher.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)