Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-536

Infinite loop instead of timeout on DistributedDoubleBarrier::internalLeave

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • None
    • Recipes
    • None

    Description

      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 :--)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abcdenis Denis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m