Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-666

Background create strip namespace twice from path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.4.0
    • 5.5.0
    • Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kezhuw Kezhu Wang
              kezhuw Kezhu Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: