You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/11/21 19:37:00 UTC
[jira] [Updated] (KNOX-1621) CuratorClientService#createEntry -
Avoid race condition when creating znodes
[ https://issues.apache.org/jira/browse/KNOX-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated KNOX-1621:
-------------------------------
Attachment: KNOX-1621.patch
Status: Patch Available (was: In Progress)
> 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)