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

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergio Bossa updated CASSANDRA-9417:
------------------------------------
    Description: 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.  (was: As a consequence of CASSANDRA-8564, {{RejectedExecutionException}}s 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.)

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