Investigate and fix slow bulkWrite addition of insert replies.

XMLWordPrintableJSON

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

      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
              Reporter:
              Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: