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

Create shallow copy of shell_options in tenant migration passthrough

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0-rc1, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.9
    • Sharding 2021-05-03
    • 25

      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.

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

              Created:
              Updated:
              Resolved: