[GODRIVER-510] Documents larger than the MaxDocumentSize/MaxBSONObjectSize should cause error on InsertOne/InsertMany Created: 26/Jul/18 Updated: 28/Oct/23 Resolved: 27/Jul/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Command & Dispatch |
| Affects Version/s: | 0.0.10 |
| Fix Version/s: | 0.0.11 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When a document larger than MaxDocumentSize/MacBSONObjectSize is inserted, the driver enters an infinite loop. An error should be returned instead. |
| Comments |
| Comment by Githook User [ 27/Jul/18 ] |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Ensure too large documents cause error on insert Change-Id: Ief2fa6b04df3dd98e7861b47aa3208db780a093d |
| Comment by Kristofer Brandow (Inactive) [ 26/Jul/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/420581. |