You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/07/14 04:59:34 UTC

[GitHub] [helix] jiajunwang opened a new issue #1148: ZKHelixManager.disconnect() will block forever if ZK connection is not SyncConnected.

jiajunwang opened a new issue #1148:
URL: https://github.com/apache/helix/issues/1148


   If there is no ZooKeeper nor ZooKeeper connection, calling ZKHelixManager.disconnect() will block forever.
   
   Example stack:
   	  at sun.misc.Unsafe.park(Unsafe.java:-1)
   	  at java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:237)
   	  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitUntil(AbstractQueuedSynchronizer.java:2072)
   	  at org.I0Itec.zkclient.ZkClient.waitForKeeperState(ZkClient.java:636)
   	  at org.I0Itec.zkclient.ZkClient.waitUntilConnected(ZkClient.java:619)
   	  at org.I0Itec.zkclient.ZkClient.waitUntilConnected(ZkClient.java:615)
   	  at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:679)
   	  at org.apache.helix.manager.zk.ZkClient.getChildren(ZkClient.java:210)
   	  at org.I0Itec.zkclient.ZkClient.getChildren(ZkClient.java:409)
   	  at org.apache.helix.manager.zk.CallbackHandler.subscribeForChanges(CallbackHandler.java:293)
   	  at org.apache.helix.manager.zk.CallbackHandler.invoke(CallbackHandler.java:163)
   	  at org.apache.helix.manager.zk.CallbackHandler.reset(CallbackHandler.java:408)
   	  at org.apache.helix.manager.zk.ZKHelixManager.resetHandlers(ZKHelixManager.java:726)
   	  at org.apache.helix.manager.zk.ZKHelixManager.disconnect(ZKHelixManager.java:532)


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org


[GitHub] [helix] jiajunwang closed issue #1148: ZKHelixManager.disconnect() will block forever if ZK connection is not SyncConnected.

Posted by GitBox <gi...@apache.org>.
jiajunwang closed issue #1148:
URL: https://github.com/apache/helix/issues/1148


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org