curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-308) SimpleDistributedQueue::take() hangs if container nodes are removed
Date Sun, 22 May 2016 22:36:12 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295753#comment-15295753
] 

ASF GitHub Bot commented on CURATOR-308:
----------------------------------------

Github user cammckenzie commented on the pull request:

    https://github.com/apache/curator/pull/149#issuecomment-220860815
  
    Looks good to me.


> 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
>         Environment: org.apache.curator:curator-recipes 3.1.0
> org.apache.curator:curator-test 3.1.0
>            Reporter: Philip Searle
>            Assignee: Jordan Zimmerman
>             Fix For: 3.1.1
>
>         Attachments: TestSimpleDistributedQueueHang.java
>
>
> 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)

Mime
View raw message