[GODRIVER-2204] Go driver cannot decode gridfs files collection documents if the chunksize field is not stored as int32 Created: 22/Oct/21 Updated: 28/Oct/23 Resolved: 02/Nov/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | GridFS |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.4 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Jean Carlo Ortiz | Assignee: | Gabby Asuncion |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | GridFS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
From the gridfs spec:
But the Go driver does not handle existing GridFS files if the chunksize type is not int32. It will panic with the following error:
|
| Comments |
| Comment by Githook User [ 03/Nov/21 ] |
|
Author: {'name': 'Gabriela Asuncion', 'email': 'gabriela.asuncion@mongodb.com', 'username': 'gabbyasuncion'}Message: |
| Comment by Githook User [ 02/Nov/21 ] |
|
Author: {'name': 'Gabriela Asuncion', 'email': 'gabriela.asuncion@mongodb.com', 'username': 'gabbyasuncion'}Message: |
| Comment by Gabby Asuncion [ 01/Nov/21 ] |
|
Hi jeancarlo.ortiz@wiztopic.com, do you mind sharing which use case produced this panic? |
| Comment by Kevin Albertson [ 25/Oct/21 ] |
|
Hi jeancarlo.ortiz@wiztopic.com, thank you for filing this bug report. We will take a look soon. |