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

Collection deleted - file still exists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.4.3
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      I have a replica set of 2 data nodes and 1 arbiter. On primary I ran two commands:
      db.fs.files.drop()
      db.fs.chunks.drop()

      The collections successfully deleted from primary and secondary but they still exist as files in collection directory. How to tell mongodb that they should be removed from disk? Don't want to keep 400Gb of useless data.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kelsey.schubert Kelsey T Schubert
              Reporter:
              lisio Andrey Kostin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: