[
https://issues.apache.org/jira/browse/AMQ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629595#comment-15629595
]
ASF subversion and git services commented on AMQ-6495:
------------------------------------------------------
Commit ba1eab20d2b3cc2c3bddcc34cf54ae6ea7cfbcc0 in activemq's branch
refs/heads/activemq-5.14.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=ba1eab2 ]
https://issues.apache.org/jira/browse/AMQ-6495
State variables shared across threads in the transport need to be marked
volatile.
(cherry picked from commit 629ee285685b5f63315c8fcd6138a37bd17b958d)
> Boolean state flags in Failover transport should be volatile
> ------------------------------------------------------------
>
> Key: AMQ-6495
> URL: https://issues.apache.org/jira/browse/AMQ-6495
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.14.1
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.15.0, 5.14.2
>
>
> The Failover transport reconnect task looks at the started / disposed /
> shuttingDown flags to check if it should terminate but that value is read
> outside any locks and is not volatile leading to missing the not-started
> state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)