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:27:00 UTC

[jira] [Created] (KNOX-1621) CuratorClientService#createEntry - Avoid race condition when creating znodes

Kevin Risden created KNOX-1621:
----------------------------------

             Summary: 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
             Fix For: 1.3.0


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)