[CSHARP-484] C# GridFS driver fails for large files >2GB Created: 31/May/12  Updated: 02/Apr/15  Resolved: 06/Jun/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.4.2
Fix Version/s: 1.5

Type: Bug Priority: Minor - P4
Reporter: gani.agabin@kla-tencor.com Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: driver, gridfs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 2003 Server x64


Backwards Compatibility: Fully Compatible

 Description   

Files larger than 2GB size uploads with incorrect size in header due to (integer) truncation problem Download of the same file subsequently fails with message about MD5 failure. The problem is file MongoGridFS, Upload method, line 788. The line "var length = 0" should be changed to "long length = 0;" or force the 0 value to a long.


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