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

Investigate and fix slow bulkWrite addition of insert replies.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-10-16, Repl 2023-10-30

      The addInsertReplies method here takes about 2% of the total time that the bulkWrite thread spends.

      In a patch in which I commented out this method, along with populateCursorReplies, I saw a significant performance raise.

      See SERVER-76662 for flame graphs.

            Assignee:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: