See attached main.go file:
- it stored 3221225472 bytes of random data to the database
- then it tries to load all those save data to see if the write size is equal to the read size
- read ends at 3221176320 bytes with ErrWrongSize
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.
- backported by
-
GODRIVER-1105 Backport "Downloading big files from gridfs ends with ErrWrongSize"
- Closed