[GODRIVER-124] Support bulk inserting documents over 16 MB in total size with InsertMany Created: 10/Nov/17 Updated: 28/Oct/23 Resolved: 24/May/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.6 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | FY2019Q2, Stitch | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Epic Link: | GODRIVER Alpha UX | ||||
| Description |
|
Currently, InsertMany operations will error if the documents to be inserted don't fit in a single BSON document. We should decide a proper way to handle this situation (e.g. with batching) and implement it. |
| Comments |
| Comment by Githook User [ 24/May/18 ] |
|
Author: {'username': 'tychoish', 'name': 'tycho garen', 'email': 'garen@tychoish.com'}Message: Change-Id: I4371a92c1cd74769dd25ffac272da5ca018afa1d |
| Comment by Kristofer Brandow (Inactive) [ 15/May/18 ] |
|
I think it'll need to be in the dispatch and command package. I think it makes sense to have the insert command be able to split itself, creating a number of correctly sized insert commands. Then in dispatch we can call this splitting functionality and do a round trip with it. This will make it easier to add retryable writes in the future. |
| Comment by Sam Kleinman (Inactive) [ 15/May/18 ] |
|
kris.brandow, do you think this makes sense to put in:
I can see reasons to locate this functionality in any of these places, but I'm not sure what you had in mind. |