[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: |
|
||||||||
| 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: (cherry picked from commit 97bd3bc33d6bee92c5a780b525113b700e3b629a) |
| Comment by Githook User [ 17/May/21 ] |
|
Author: {'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}Message: |