[SERVER-51345] Change all IDL object types to owned object types in Resharding classes Created: 05/Oct/20 Updated: 29/Oct/23 Resolved: 06/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Alexander Taskov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M1, PM-234-T-lifecycle | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Sharding 2020-10-19 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The generated IDL code doesn't automatically take ownership of a passed-in BSONObj, which can lead to references going out of scope. Analyze all Resharding IDL files and ensure that objects are changed to owned objects. Also take the time to look over Resharding IDL initialization and see if any other potential memory/scope issues pop up. |
| Comments |
| Comment by Githook User [ 06/Oct/20 ] |
|
Author: {'name': 'Alex Taskov', 'email': 'alex.taskov@mongodb.com', 'username': 'alextaskov'}Message: |