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

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Mathias Stearn
            Reporter:
            Christopher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: