[CDRIVER-251] allow bulk insert into collection Created: 11/Nov/13 Updated: 05/Dec/13 Resolved: 15/Nov/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.90.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The mongoc_collection_t structure does not currently have support for sending a bulk insert to the MongoDB server. We need support for bulk insert using the OP_INSERT message as well as the new command-based insert. |
| Comments |
| Comment by Christian Hergert [ 15/Nov/13 ] |
|
Merged to master. Closing as we will cover new write commands as part of |
| Comment by Mira Carey [ 15/Nov/13 ] |
|
https://github.com/chergert/libmongoc/commit/190e9e59621341f041de9c97d8cb9746937b1317 This doesn't have support for the new write commands, but does support old style bulk insert and a IOVEC_ARRAY_FIELD rpc type. It might be worth closing this out and tackling this with the rest of the write commands in a ticket dedicated to that task |
| Comment by Christian Hergert [ 11/Nov/13 ] |
|
We need the wire-version to determine if we need to use the new write commands. |