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

Allow dropDatabase to accept flags to delete underlying directory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 3.3.2
    • Fix Version/s: Backlog
    • Component/s: Internal Code, Usability
    • Labels:
    • Case:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated: