[ 
https://issues.apache.org/jira/browse/KNOX-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699462#comment-16699462
 ] 

ASF subversion and git services commented on KNOX-1621:
-------------------------------------------------------

Commit 12eac267e14d1d4fe6e160858b159533332eae7a in knox's branch 
refs/heads/master from [~risdenk]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=12eac26 ]

KNOX-1621 - CuratorClientService#createEntry - Avoid race condition when 
creating znodes

Signed-off-by: Kevin Risden <[email protected]>


> 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)

Reply via email to