[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: SERVER-21488 insert into indexed capped collections one-at-a-time
Branch: master
https://github.com/mongodb/mongo/commit/c7206ba504c5c6901cae130c75f8a045393e568e

Generated at Thu Feb 08 03:57:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.