You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Philip Searle (JIRA)" <ji...@apache.org> on 2016/03/14 14:35:33 UTC
[jira] [Created] (CURATOR-308) SimpleDistributedQueue::take() hangs
if container nodes are removed
Philip Searle created CURATOR-308:
-------------------------------------
Summary: SimpleDistributedQueue::take() hangs if container nodes are removed
Key: CURATOR-308
URL: https://issues.apache.org/jira/browse/CURATOR-308
Project: Apache Curator
Issue Type: Bug
Components: Recipes
Affects Versions: 3.1.0
Reporter: Philip Searle
SimpleDistributedQueue creates the queue using container nodes if the ZooKeeper instance supports this feature. If ZooKeeper runs the container node cleanup task while SimpleDistributedQueue::take() is blocking, the call will not ever return.
A similar issue occurs when calling poll(), resulting in it delaying until the timeout has elapsed, even if a queue item was inserted after the container cleanup occurs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)