[CSHARP-221] Modify MongoGridFSStream so that user can specify whether MD5 hash should be computed or not Created: 04/May/11  Updated: 02/Apr/15  Resolved: 04/May/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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



 Comments   
Comment by Robert Stam [ 04/May/11 ]

Added UpdateMD5 property to MongoGridFSStream.

Generated at Wed Feb 07 21:36:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.