[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:
Depends
is depended on by SERVER-51209 Fill in missing gaps in Resharding wo... Closed
is depended on by SERVER-51210 Call setInitialChunksAndZones from th... Closed
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: SERVER-51345 Change all IDL object types to owned object types in Resharding classes
Branch: master
https://github.com/mongodb/mongo/commit/75eb9e18187b7853ed8e317825a2e282a54f92f0

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