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

Allow dropDatabase to accept flags to delete underlying directory

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.2
    • Internal Code, Usability
    • None
    • Storage Execution

    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

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            sallgeud Chad Kreimendahl
            Votes:
            8 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: