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

EnsembleTracker not appending the chroot node when setting the new connection string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 5.1.0
    • 5.6.0
    • Framework
    • None

    Description

      The EnsembleTracker does not add the chroot node when setting the connection string upon receiving a new configuration event.

      The new connection string is created by the method  EnsembleTracker.configToConnectionString(QuorumVerifier data) as a comma separated list of <ip:port> for each zookeeper server in the QuorumVerfier, but
      the chroot node is not appended to the newly created connection string. 

      So for example if the initial connection string is 

      zookeeper01:2080,zookeeper02:2080/config/prop

      when zookeeper03 joins the cluster, the client connection string is set to

      171.19.10.23.2080,171.19.10.24.2080,171.19.10.25.2080

      and "/config/prop" gets stripped out.

      The problem manifests itself upon a re-connection to zookeeper, because the client will point to the wrong paths.

       

       

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: