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

Collection::insertDocuments should handle capped collections directly

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code, Storage
    • None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: