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

Cleanup all data from Cluster

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi

      I wonder if you have a functionality that completely resets the data from a MongoDB cluster.
      I ask especially for the data which is stored in the "config" database.
      Since version 4 the metadata of deleted databases is also deleted but many of the collections still contain data although all databases have been deleted from the cluster.
      Therefore it would be nice to have a script to delete all data/locks/action logs/chunks etc. properly.

      Is there such a possibility without having to perform a new installation?

      As I have seen, if I simply delete the entries from the config database, the "tags", for example, will not be cleanly deleted on all shards. Or is it safe to just flush out these collections? 

      Thank you very much!

            Assignee:
            carl.champain@mongodb.com Carl Champain (Inactive)
            Reporter:
            florian.hulliger@gmail.com Florian Hulliger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: