You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Francesco (Jira)" <ji...@apache.org> on 2021/08/18 11:49:00 UTC
[jira] [Created] (CURATOR-611) EnsembleTracker not appending the
chroot node when setting the new connection string
Francesco created CURATOR-611:
---------------------------------
Summary: EnsembleTracker not appending the chroot node when setting the new connection string
Key: CURATOR-611
URL: https://issues.apache.org/jira/browse/CURATOR-611
Project: Apache Curator
Issue Type: Bug
Components: Framework
Affects Versions: 5.2.0
Reporter: Francesco
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 set to
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)