[SERVER-43955] Cleanup all data from Cluster Created: 11/Oct/19 Updated: 11/Oct/19 Resolved: 11/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | Florian Hulliger | Assignee: | Carl Champain (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Hi I wonder if you have a functionality that completely resets the data from a MongoDB cluster. 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! |
| Comments |
| Comment by Carl Champain (Inactive) [ 11/Oct/19 ] |
|
Hi florian.hulliger@gmail.com, The only recommended way to reset the data from a MongoDB cluster is to create a new cluster. Importantly, deleting sharding metadata will likely cause the cluster to start failing in strange ways. That said, the SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need further assistance, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. Kind regards, |