curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J D (JIRA)" <>
Subject [jira] [Created] (CURATOR-233) Bug in bouble barrier
Date Sat, 11 Jul 2015 21:42:05 GMT
J D created CURATOR-233:

             Summary: Bug in bouble barrier
                 Key: CURATOR-233
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 2.8.0
            Reporter: J D


I think I discovered a bug in the internalLeave method of the double barrier implementation.

When a client is told to leave the barrier after maxWait it does not do so. A flag is set
but the client does not leave the barrier, instead it keeps iterating through the control
loop and drives CPU usage to 100%.

I have attached an example.

Best regards


This message was sent by Atlassian JIRA

View raw message