[GODRIVER-1012] Downloading big files from gridfs ends with ErrWrongSize Created: 01/May/19 Updated: 28/Oct/23 Resolved: 04/Jun/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | GridFS |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | 1.0.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sławomir Chmiel | Assignee: | Emmanuel Eppinger (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongodb 3.6.12 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
See attached main.go file:
Java client correctly reads all the data so it looks like the issue is in the GO DownloadStream. For smaller size, ~2GB it works fine - read ends with EOF and all data is read. |
| Comments |
| Comment by Githook User [ 04/Jun/19 ] |
|
Author: {'name': 'Emmanuel', 'email': 'manny.eppinger@mongodb.com', 'username': 'eppingere'}Message: Fix GridFS ErrWrongSize error for big files Change-Id: I695f6f08cf5e5bded9a6e4bcd36eff46d5e30742 |
| Comment by Githook User [ 04/Jun/19 ] |
|
Author: {'name': 'Emmanuel', 'email': 'manny.eppinger@mongodb.com', 'username': 'eppingere'}Message: Fix GridFS ErrWrongSize error for big files Change-Id: I695f6f08cf5e5bded9a6e4bcd36eff46d5e30742 |
| Comment by Emmanuel Eppinger (Inactive) [ 03/Jun/19 ] |
|
https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/456681 |