nailsoul opened a new pull request, #416:
URL: https://github.com/apache/curator/pull/416

   Scenario: QTY clients call the enter method, QTY-1 clients call the leave 
method, the number of clients is not enough so it blocks, and the working 
directory leaves the smallest node. At this time, the smallest node client 
receives the notification that the ready node is created to wake up the thread 
, it is checked that only one node deletes the node, and other clients are 
woken up
   Solution: use different watchers for enter and leaver methods
   Test case: TestDistributedDoubleBarrier.testEnterAffectLeaveByWatcher


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to