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

Collection deleted - file still exists

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.3
    • Storage
    • 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

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            lisio Andrey Kostin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: