[GODRIVER-1770] GridFS download chunk size should be read from files document, not bucket Created: 19/Oct/20 Updated: 28/Oct/23 Resolved: 26/Oct/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When creating a GridFS download stream, we set the expected chunk size to be the bucket's chunk size. This isn't correct though because the chunk size can be overridden for individual files, so we should instead set it to the chunkSize field in the files collection document. |
| Comments |
| Comment by Githook User [ 26/Oct/20 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: |
| Comment by Githook User [ 26/Oct/20 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: |
| Comment by Divjot Arora (Inactive) [ 20/Oct/20 ] |