You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Kezhu Wang (Jira)" <ji...@apache.org> on 2023/04/03 13:46:00 UTC

[jira] [Created] (CURATOR-666) Background create strip namespace twice from path

Kezhu Wang created CURATOR-666:
----------------------------------

             Summary: Background create strip namespace twice from path
                 Key: CURATOR-666
                 URL: https://issues.apache.org/jira/browse/CURATOR-666
             Project: Apache Curator
          Issue Type: Bug
          Components: Framework
    Affects Versions: 5.4.0
            Reporter: Kezhu Wang


{{CreateBuilderImpl::sendBackgroundResponse}} strips namespace twice:
* One in body of {{sendBackgroundResponse}} or newly introduced {{createResponseEvent}}.
* One in construction of {{CuratorEventImpl}}.

This could cause incorrect resulting path if we are creating "/zoo" under "/zoo" namespace.

This recall me ZOOKEEPER-4601, I verified that {{CuratorFramework::getConfig}} get "keeper/config" in "/zoo" and "/config" in "/zookeeper" namespace. We might need extra coordination with ZooKeeper community to maintain consistent between curator and zookeeper but I think we could fix `CreateBuilderImpl` independently. I remembered that I sent email in zookeeper dev list before, I will bump that up for discussion.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)