Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-221

Modify MongoGridFSStream so that user can specify whether MD5 hash should be computed or not

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: None
    • None

      In some scenarios a file may be uploaded to GridFS in multiple steps. At each step an instance of MongoGridFSStream will be opened, some of the data will be written, and the stream will be closed. Currently the MD5 hash is computed every time the stream is closed. A significant performance improvement can be achieved if the calling code can turn off the computation of the MD5 hash for the intermediate steps.

      See pull request: https://github.com/mongodb/mongo-csharp-driver/pull/57

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: