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

GridFS clean method Interrupted GridFS inserts leave unlinked entries in the .chunks collection - Some way to clean those up would be helpful

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Usability
    • None

    Description

      If, while performing a GridFS insert, the connection between the server and the client fails, the database ends up with a bunch of unlinked entries in the .chunks collection with no linked entry in .files. A simple way to prune these entries would be helpful for housekeeping purposes. At the very least, an example of how to do it in the MongoDB Shell would be extremely useful.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            ratdesang Christopher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: