You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/05/18 21:14:03 UTC

[jira] [Commented] (CASSANDRA-9417) Do not swallow RejectedExecutionExceptions at shutdown

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

Jonathan Ellis commented on CASSANDRA-9417:
-------------------------------------------

We should probably revert CASSANDRA-8564 at least as far as 2.1 is concerned.  /cc [~tjake]

> Do not swallow RejectedExecutionExceptions at shutdown
> ------------------------------------------------------
>
>                 Key: CASSANDRA-9417
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9417
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sergio Bossa
>            Assignee: T Jake Luciani
>            Priority: Minor
>
> As a consequence of CASSANDRA-8564, RejectedExecutionExceptions are now swallowed, which is suboptimal. It would be probably better to either rethrow a specialized exception to be caught and debug logged, or just cancel the task inside the handler so that at least the submitting thread can check for the cancellation status and properly react.



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