[SERVER-21488] Insert records one-at-a-time into capped collections with indexes Created: 16/Nov/15 Updated: 25/Nov/15 Resolved: 17/Nov/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | QuInt C (11/23/15) |
| Participants: |
| Description |
|
Currently Collection::insertDocuments() inserts all of the documents into the RecordStore then adds them to the index. This causes problems with indexed capped collections because inserting records may delete earlier records. We will still index all records in the batch even if they were deleted. |
| Comments |
| Comment by Githook User [ 17/Nov/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: |