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

Collection::insertDocuments should handle capped collections directly

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code, Storage
    • None
    • Storage Execution

    Description

      The solution to SERVER-21488 will have Collection::insertDocuments return an error when an attempt is made to insert multiple documents into an indexed capped collection. The caller is then responsible for retrying with single inserts. It would be better if Collection::insertDocuments just handled single inserts by itself. This requires changing WTRecordStore's capped implementation to support deleting records from the current WUOW.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: