narendly commented on a change in pull request #846: Make ZKHelixAdmin and 
ZKHelixManager Realm-aware
URL: https://github.com/apache/helix/pull/846#discussion_r391402895
 
 

 ##########
 File path: 
helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixManager.java
 ##########
 @@ -1285,4 +1266,60 @@ public void handleSessionEstablishmentError(Throwable 
error) throws Exception {
   public Long getSessionStartTime() {
     return _sessionStartTime;
   }
+
+  private RealmAwareZkClient createSingleRealmZkClient() {
 
 Review comment:
   - Rename the method to `prepareAndGetZkClient()`
   
   - Javadoc:
   
   Prepares connection config and client config based on the internal 
parameters given to HelixManager in order to create a ZkClient instance to use. 
Note that a shared ZkClient instance will be created if connecting as an 
ADMINISTRATOR to minimize the cost of creating ZkConnections.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to