narendly commented on a change in pull request #1183:
URL: https://github.com/apache/helix/pull/1183#discussion_r463224258
##########
File path: helix-core/src/main/java/org/apache/helix/HelixPropertyFactory.java
##########
@@ -88,8 +88,9 @@ private CloudConfig getCloudConfig(String zkAddress, String
clusterName) {
CloudConfig cloudConfig;
RealmAwareZkClient dedicatedZkClient = null;
try {
- if (Boolean.getBoolean(SystemPropertyKeys.MULTI_ZK_ENABLED)) {
- // If the multi ZK config is enabled, use multi-realm mode with
DedicatedZkClient
+ if (Boolean.getBoolean(SystemPropertyKeys.MULTI_ZK_ENABLED) || zkAddress
== null) {
Review comment:
I have the comment explaining the behavior. Please suggest if you have
another way to achieve this otherwise.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]