huijunw commented on issue #2907: stuck stmgr due to zk client destructor
URL: 
https://github.com/apache/incubator-heron/issues/2907#issuecomment-391482300
 
 
   two questions:
   1. why is zookeeper not single thread ? `libzookeeper_mt` vs 
`libzookeeper_st`
   2. if multi thread zk client is expected, how to solve the race condition? 
blind guess: delete piper after zookeeper_close() 
https://github.com/apache/incubator-heron/blob/0.17.8/heron/common/src/cpp/zookeeper/zkclient.cpp#L146

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to