activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6495) Boolean state flags in Failover transport should be volatile
Date Wed, 02 Nov 2016 16:58:58 GMT

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

ASF subversion and git services commented on AMQ-6495:
------------------------------------------------------

Commit 629ee285685b5f63315c8fcd6138a37bd17b958d in activemq's branch refs/heads/master from
[~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=629ee28 ]

https://issues.apache.org/jira/browse/AMQ-6495

State variables shared across threads in the transport need to be marked
volatile. 

> 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)

Mime
View raw message