Improve getTerm() performance

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Storage 2017-11-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Eric Milkie
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: