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

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

    • Fully Compatible
    • v3.6
    • TIG 2018-05-21
    • 42
    • 3

      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.

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

              Created:
              Updated:
              Resolved: