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-6086) Broker stop and start are not at all thread safe - we can do better
Date Mon, 14 Dec 2015 15:40:46 GMT

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

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

Commit 35df815fb86d201e63b4f0f2d53bee3bae5c0752 in activemq's branch refs/heads/master from
[~gtully]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=35df815 ]

https://issues.apache.org/jira/browse/AMQ-6086 - start exception can prevent stop from exiting
fully, need to be more selective in creation on stop.


> Broker stop and start are not at all thread safe - we can do better
> -------------------------------------------------------------------
>
>                 Key: AMQ-6086
>                 URL: https://issues.apache.org/jira/browse/AMQ-6086
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.14.0
>
>
> If one thread starts a broker and a second tries to stop we can get in a mess. Particularly
if there is blocking or locking in the mix. In some cases we are ok but there is no determinism.
> In a simple case, the stop can complete before the start gets going at all and we miss
the stop, leaving a dangling broker.



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

Mime
View raw message