You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2022/07/12 17:03:00 UTC
[jira] [Assigned] (CASSANDRA-17731) Clean up ScheduledExecutors shutdown for in-JVM dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-17731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Rackliffe reassigned CASSANDRA-17731:
-------------------------------------------
Assignee: Caleb Rackliffe
> Clean up ScheduledExecutors shutdown for in-JVM dtests
> ------------------------------------------------------
>
> Key: CASSANDRA-17731
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17731
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/java
> Reporter: Caleb Rackliffe
> Assignee: Caleb Rackliffe
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 4.x
>
>
> There appear to be two problems w/ the way we shut down {{ScheduledExecutors}} in Instance in 4.0+:
> 1.) We do it twice, Ince as part of a larger batch of shutdown activity, and then again in its own {{parallelRun()}} block.
> 2.) It happens before {{MessagingService}} shuts down, but some messaging-related threads (see {{StreamSession#closeSession()}}) can submit tasks to {{nonPeriodicTasks}}.
> We should do it once, and do it after the {{MessagingService}} has properly shut down.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org