You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/11/02 17:59:58 UTC
[jira] [Resolved] (AMQ-6495) Boolean state flags in Failover
transport should be volatile
[ https://issues.apache.org/jira/browse/AMQ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-6495.
-------------------------------
Resolution: Fixed
> 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)