[CDRIVER-965] GridFS implementation must update md5 Created: 26/Oct/15 Updated: 18/Oct/16 Resolved: 18/Oct/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | GridFS |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.5.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kyle Suarez | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Description |
|
The C Driver must verify that the MD5 checksum is properly updated after a save or write. |
| Comments |
| Comment by Kyle Suarez [ 18/Oct/16 ] |
|
Makes sense to me. Thanks Hannes! |
| Comment by Hannes Magnusson [ 18/Oct/16 ] |
|
If this is actually a bug, then it has no material effect on any drivers.
Actually, further reading the spec:
And that is what we are doing. Only the mongoc_gridfs_file_save will calculate a md5 sum for the file and store it. Any other entry points, such as streaming, expect the user having created all the supporting mongoc_gridfs_file_opt_t and properly calculating the md5 |