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

Do not hold collection cloner mutex while inserting documents into storage

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication

    Description

      We hold the collection cloner mutex while inserting documents into storage. Since we also hold this mutex while populating the _documentsToInsert buffer, this prevents us from simultaneously inserting into the buffer and inserting into storage. We should avoid holding this mutex while inserting into storage. This would require us to have throttling for _documentsToInsert so that its size does not grow without bound.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: