Dejan Bosanac created AMQ-4897:
----------------------------------

             Summary: Race condition in failover transport
                 Key: AMQ-4897
                 URL: https://issues.apache.org/jira/browse/AMQ-4897
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.9.0
            Reporter: Dejan Bosanac
            Assignee: Dejan Bosanac
             Fix For: 5.10.0


There's a small chance of the race condition when using priority backup with 
extremely small reconnect delay (0). In that case, the failover transport will 
get into inconsistent state. The client will stay connected to the 
"non-priority" broker, but the priority backup will not be created due to this 
inconsistency.

The solution is to synchronise handling of connection failure with the 
reconnect mutex.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to