You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Denis (JIRA)" <ji...@apache.org> on 2019/08/08 09:14:00 UTC

[jira] [Created] (CURATOR-536) Infinite loop instead of timeout on DistributedDoubleBarrier::leave

Denis created CURATOR-536:
-----------------------------

             Summary: Infinite loop instead of timeout on DistributedDoubleBarrier::leave
                 Key: CURATOR-536
                 URL: https://issues.apache.org/jira/browse/CURATOR-536
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 4.2.0
            Reporter: Denis


Hi,

I am using DistributedDoubleBarrier (DDB) for synchronizing 3 instances in AP system, so I created it with quantity=2 and I got 3 children instead of 2.

Upon leaving with timeout 20 minutes I get infinite loop sometime in DDB::internalLeave.

 

In debugger I can see "result = false" on line 265 in DistributedDoubleBarrier.java but without break it is an infinite loop.

 

Looks like I am the only person who is trying to use DDB :--)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)