Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21488

Insert records one-at-a-time into capped collections with indexes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • QuInt C (11/23/15)

      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.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: