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

Add option to drop collection to remove empty db files, after drop

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution

    Description

      Add option, or just make it so, if the extents removed result in db files which have no extents then they can deleted to free disk space immediately.

      This would require a function which would be able to report any namespaces in a given db.X file to check if there are any left after the extent has been removed.

      We should make sure to always leave the require pre-allocated db file instead of deleting all empty db files.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: