-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.3.2
-
Component/s: Internal Code, Usability
-
None
-
Storage Execution
-
(copied to CRM)
For those of us who create many temporary databases that get deleted, the new functionality that leaves database directories intact (even when they're not mount points or symlinks), can cause problems of managing the server.
Please add in a flag or set of options (json?) to allow us to tell dropDatabase to delete the directory upon completion. This would act the exact same way that MMAP does today.
Additionally, you could provide the option to delete "only if not symlink or mount point" or any combination of those options.
Related to: SERVER-17703
- is duplicated by
-
SERVER-28630 Mongo zero size db folder is not clear on the disk
- Closed
-
SERVER-44120 Include Flag in dropDatabase to delete empty database directory
- Closed
- is related to
-
SERVER-17703 dropDatabase not removing folders with wiredTiger
- Closed
- related to
-
SERVER-1379 dropdb with directoryperdb should remove contents, not delete directory (mmapV1)
- Closed