tisonkun commented on code in PR #460:
URL: https://github.com/apache/curator/pull/460#discussion_r1201677225
##########
curator-framework/src/main/java/org/apache/curator/framework/imps/EnsembleTracker.java:
##########
@@ -209,10 +209,17 @@ private void processConfigData(byte[] data) throws
Exception
if (!properties.isEmpty())
{
QuorumMaj newConfig = new QuorumMaj(properties);
- String connectionString = configToConnectionString(newConfig);
- if (connectionString.trim().length() > 0)
+ String connectionString =
configToConnectionString(newConfig).trim();
Review Comment:
Is it possible that the `connectionString` also has a `chroot` part and we
append the old chroot last which is disordered?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]