Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17731

Clean up ScheduledExecutors, CommitLog, and MessagingService shutdown for in-JVM dtests

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              maedhroz Caleb Rackliffe
              maedhroz Caleb Rackliffe
              Caleb Rackliffe
              David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h