How to delete chunk files

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 2.4.2
    • Component/s: API, Documentation
    • Environment:
      OS : Windows 7
      .Net : 4.6.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In Mongocsharp driver, there was an option to delete documents in "fs.chunks" collection using gridfs object.
      But, in MongoDB Driver 2.4.2, how can we delete documents from only "fs.chunks"?

      Is it okay to delete documents in "fs.chunks" without using GridFS bucket object, ie, by using

      Database.GetCollection<GridFSFileInfo>(fs.chunks);
      

      Thanks in advance,
      Irshad

            Assignee:
            Robert Stam
            Reporter:
            Ummer Irshad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: