-
Type: Question
-
Resolution: Done
-
Priority: 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!