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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc4
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: