qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3187) No exception handling for manay timer tasks in broker
Date Mon, 04 Apr 2011 16:52:05 GMT

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

Gordon Sim commented on QPID-3187:
----------------------------------

Patch submitted for review at https://reviews.apache.org/r/546/

> No exception handling for manay timer tasks in broker
> -----------------------------------------------------
>
>                 Key: QPID-3187
>                 URL: https://issues.apache.org/jira/browse/QPID-3187
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.8, 0.10
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>
> The assumption in Timer appears to be that no thread will ever throw from TimerTask::fire().
In practice however few of the implementations of that method in the broker take any measures
to ensure that is the case. If code called on a timer thread throws there is therefore the
risk of the broker terminating (I have observed such a case for example on the management
periodic processing).
> It would probably be advisable to add some generic protection for this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message