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

Allow dropDatabase to accept flags to delete underlying directory

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.3.2
    • Component/s: Internal Code, Usability
    • None
    • Storage Execution

      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

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            sallgeud Chad Kreimendahl
            Votes:
            8 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: