[SERVER-37787] Refactor the way we use smart pointers in BiggieSE Created: 26/Oct/18  Updated: 29/Oct/23  Resolved: 08/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Improvement Priority: Minor - P4
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-11-05, Storage NYC 2018-11-19
Participants:

 Description   

Today, a good chunk of the BiggieSE codebase is using nested pointers which is prone to generate issues. The code should be refactor to avoid using unnecessary pointers and to rethink our strategy when swapping trees to avoid dangling pointers.

Currently cloneCollectionAsCapped is a victim of this issue and should be fixed once the work surrounding this ticket is done.



 Comments   
Comment by Githook User [ 08/Nov/18 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-37787 Refactor the way we use pointers in BiggieSE
Branch: master
https://github.com/mongodb/mongo/commit/59ead5ee5882e993623b4300d0aa87aeb05a47b1

Generated at Thu Feb 08 04:47:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.