[ 
https://issues.apache.org/jira/browse/ARTEMIS-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131582#comment-15131582
 ] 

ASF GitHub Bot commented on ARTEMIS-385:
----------------------------------------

GitHub user clebertsuconic opened a pull request:

    https://github.com/apache/activemq-artemis/pull/369

    ARTEMIS-385 fixing race

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/clebertsuconic/activemq-artemis ARTEMIS-385

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/369.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 #369
    
----
commit ba7e11a54c6b487b2d2fc5a970fe1521bcf69906
Author: Clebert Suconic <clebertsuco...@apache.org>
Date:   2016-02-04T02:14:26Z

    ARTEMIS-385 On a possible race the Topology final notification may get lost 
when using many connection factories
    
    https://issues.apache.org/jira/browse/ARTEMIS-385
    
    This fix will make sure we only wait for the topologies that are arriving 
from the current connection over the createFactory method

----


> Race between topology update and connection creation
> ----------------------------------------------------
>
>                 Key: ARTEMIS-385
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-385
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: clebert suconic
>            Assignee: clebert suconic
>             Fix For: 1.3.0
>
>
> MultipleThreadsOpeningTest will fail eventually because of this.
> avax.jms.JMSException: Failed to create session factory
>       at 
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:727)
>       at 
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:233)
>       at 
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:229)
>       at 
> org.apache.activemq.artemis.tests.integration.jms.cluster.MultipleThreadsOpeningTest$1ThreadOpen.run(MultipleThreadsOpeningTest.java:59)
> Caused by: ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT 
> message=AMQ119013: Timed out waiting to receive cluster topology. Group:null]
>       at 
> org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:861)
>       at 
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:724)
>       ... 3 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to