kaisun2000 commented on a change in pull request #1119:
URL: https://github.com/apache/helix/pull/1119#discussion_r459697396



##########
File path: 
zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java
##########
@@ -200,6 +211,10 @@ protected ZkClient(IZkConnection zkConnection, int 
connectionTimeout, long opera
     if (zkConnection == null) {
       throw new NullPointerException("Zookeeper connection is null!");
     }
+
+    String syncUpOnNewSession = 
System.getProperty(ZkSystemPropertyKeys.ZK_AUTOSYNC_ENABLED, 
ZK_AUTOSYNC_ENABLED_DEFAULT);
+    _syncOnNewSession = Boolean.parseBoolean(syncUpOnNewSession);

Review comment:
       For now, it is globally unique. _syncOnNewSession as instance variable 
can help the change later if we want to make it instance configurable. 
   
   Anyway, let me change it to global unique since huizhi also point it out. 




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

Reply via email to