[SERVER-56967] Make a deepcopy of shell_options in the tenant migration passthrough suite Created: 14/May/21  Updated: 29/Oct/23  Resolved: 17/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jason Zhang Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.9
Sprint: Sharding 2021-05-17
Participants:
Linked BF Score: 154

 Description   

Currently we make a shallow copy of shell_options and pass that around. If we intend to mutate the shell_options, we should instead make a deep copy of the dictionary instead.



 Comments   
Comment by Githook User [ 18/May/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-56967 Make a deepcopy of shell_options in the tenant migration passthrough suite

(cherry picked from commit 97bd3bc33d6bee92c5a780b525113b700e3b629a)
Branch: v4.9
https://github.com/mongodb/mongo/commit/2f016243cb7f0e4de1a2d5cc92f5d51143df9a4e

Comment by Githook User [ 17/May/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-56967 Make a deepcopy of shell_options in the tenant migration passthrough suite
Branch: master
https://github.com/mongodb/mongo/commit/97bd3bc33d6bee92c5a780b525113b700e3b629a

Generated at Thu Feb 08 05:40:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.