-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 2.2.33
-
Component/s: MongoDB 3.2
-
Empty show more show less
gridfs-stream\download.js
When using the GridFSBucket.openDownloadStream to read the data of the specified segment,for example, there is a file size of 2547447 bytes in the gridfs,the chunksize is 1024*1024,I use openDownloadStream(fileid,
) want get 1024 bytes,but return 364544 bytes.I find the error came from function doRead,I fix it then it's ok.