Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30204

Create resmoke.py hook that drops all databases without restarting the cluster

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.5.10
    • 4.0.0-rc0
    • Testing Infrastructure
    • None
    • Fully Compatible
    • v3.6
    • TIG 2018-05-21
    • 42
    • 3

    Description

      Add support for including background/perpetual workloads. Background/perpetual workloads should be done as background threads in resmoke.py and don't need any special handling other than ensuring adequate documentation in our internal wiki.

      Also, add a new hook to drop all DBs and collections after every FSM test. When running in "the same" DB Or "same collection" FSM modes, pass the DB or collection that are not dropped to the new cleanup hook. CleanupOption of not dropping certain DBs will be taken into account as needed.

      The new hook will be used in place of CleanEveryN to avoid the overhead of spinning up a large cluster multiple times.

      Attachments

        Issue Links

          Activity

            People

              jonathan.abrahams Jonathan Abrahams
              robert.guo@mongodb.com Robert Guo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: