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

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

    XMLWordPrintableJSON

Details

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

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: