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

Replace _xferDeletes and _xferUpdates with one function

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2021-07-12, Sharding EMEA 2021-07-26

    Description

      _xferDeletes and _xferUpdates have identical code except for a call to findById in _xferUpdates. These two functions can be replaced by a single function that takes a lambda as an argument. This function will be a free function to allow benchmarking this part of the code more easily.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: