[
https://issues.apache.org/jira/browse/ARTEMIS-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007884#comment-18007884
]
ASF subversion and git services commented on ARTEMIS-5581:
----------------------------------------------------------
Commit de845f17642177425a6c21c983b5784da0601e6a in activemq-artemis's branch
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=de845f1764 ]
ARTEMIS-5581 Fixing deadlock on ServerLocatorImpl.close
This is fixing NettyFileStorageSymmetricClusterWithDiscoveryTest
In particular I used testRouteWhenNoConsumersFalseNonLoadBalancedQueues
in loop on my IDE to validate the fix.
> Discovery group deadlock on ServerLocator.close
> -----------------------------------------------
>
> Key: ARTEMIS-5581
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5581
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.41.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> NettyFileStorageSymmetricClusterWithDiscoveryTest is failing if tested in
> loop (brute force until fail)
> The particular test I was using to validate it was
> testRouteWhenNoConsumersFalseNonLoadBalancedQueues,
> On IntelijIdea (or any IDE of your choise), you set it to run until failure,
> and you will see the test failing in about 100 - 400 tries.
> Some of the tests will also take 10 seconds as the timeout would eventually
> take care of breaking the deadlock chain, but in about 400 tries it always
> fail for me.
> After the fix it is always passing. (ran it for 2000 times before deciding
> it's good to commit)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact