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

Create shallow copy of shell_options in tenant migration passthrough

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0-rc1, 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.9
    • Sharding 2021-05-03
    • 25

    Description

      The pattern for mutating shell_options is to create a shallow copy via .copy() before mutating the shell_options dict. This ensures that we don't modify the shell_options for concurrently running tenant migration passthrough jobs.

      Attachments

        Activity

          People

            jason.zhang@mongodb.com Jason Zhang
            jason.zhang@mongodb.com Jason Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: