Move BSON serialization out of the lock in prepareReplMetadata

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0, v5.3, v5.0
    • Repl 2022-05-30, Repl 2022-06-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BSON serialization is fairly expensive, and we can do it after releasing the repl mutex lock.

              Assignee:
              Matthew Russotto
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: