narendly commented on pull request #1110:
URL: https://github.com/apache/helix/pull/1110#issuecomment-649876919


   This PR is ready to be merged, approved by @dasahcc 
   
   Use dedicated ZkClient in getHelixManagerProperty
   
   It's been observed that sometimes using a shared Zk connection could cause 
issues when we write in-memory tests that shut down ZK server and restart it. 
This is because with a shared Zkconnection, we may see the client's zxid be 
higher than that of the server, which is an invalid state in ZooKeeper. Since 
HelixManager is a single-realm dedicated concept, it is okay to use a dedicated 
zk connection to pull CloudConfig in getHelixManagerProperty() method. This 
will solve issues caused by zxid mismatches.


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