[
https://issues.apache.org/jira/browse/CASSANDRA-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14548629#comment-14548629
]
Jonathan Ellis commented on CASSANDRA-9417:
-------------------------------------------
Nit: cancel is a method on Future and it might be cleaner to check for that
than ScheduledFuture.
> 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
> Fix For: 2.1.x
>
>
> 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)