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

Improve getTerm() performance

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • None
    • Replication
    • None
    • Fully Compatible
    • Storage 2017-11-13
    • 0

    Description

      An insert-heavy workload shows that the biggest bottleneck is the contention on the replication coordinator mutex between calls to getTerm() and calls to setMyLastAppliedOpTimeForward().

      In 3.4, these same mutex acquisitions were there, so I'm not sure if this is a new issue. However, I do get a big boost in performance if I comment out the mutex acquisition for getTerm(), so I would like to pursue making this more efficient.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: