[
https://issues.apache.org/jira/browse/BROOKLYN-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000578#comment-16000578
]
ASF GitHub Bot commented on BROOKLYN-498:
-----------------------------------------
GitHub user ahgittin opened a pull request:
https://github.com/apache/brooklyn-server/pull/671
define canonical synch order to fix potential deadlock
and now preserve happens-before for child add-remove
see: https://issues.apache.org/jira/browse/BROOKLYN-498
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/brooklyn-server
synchronization-members
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/671.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #671
----
commit 7df1afe5af01c1b02fa08760ff251de30c20bc7e
Author: Alex Heneveld <[email protected]>
Date: 2017-05-08T09:32:09Z
define canonical synch order to fix potential deadlock
and now preserve happens-before for child add-remove
see: https://issues.apache.org/jira/browse/BROOKLYN-498
----
> Deadlock in MembershipTrackingPolicyTest when updating sensors vs group
> members
> -------------------------------------------------------------------------------
>
> Key: BROOKLYN-498
> URL: https://issues.apache.org/jira/browse/BROOKLYN-498
> Project: Brooklyn
> Issue Type: Bug
> Reporter: Alex Heneveld
>
> Core tests can hang due to this. Set high invocation count eg on
> {{testDeprecatedSetGroupWorks}} to expose.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)