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

Collection deleted - file still exists

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.3
    • Component/s: Storage
    • None

      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.

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

              Created:
              Updated:
              Resolved: