Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Test Failure
-
Low
-
Low Hanging Fruit
-
Code Inspection
-
All
-
None
-
Description
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.
Attachments
Issue Links
- fixes
-
CASSANDRA-17139 readWriteDuringBootstrapTest - org.apache.cassandra.distributed.test.ring.BootstrapTest
- Resolved
- is related to
-
CASSANDRA-16778 Jvm-dtest race on closing and log messages
- Open
- relates to
-
CASSANDRA-17139 readWriteDuringBootstrapTest - org.apache.cassandra.distributed.test.ring.BootstrapTest
- Resolved