[SERVER-26434] `KVEngine::getRecordStore` should return a unique pointer Created: 03/Oct/16  Updated: 19/Nov/16  Resolved: 07/Oct/16

Status: Closed
Project: Core Server
Component/s: Internal Code, Storage
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Integration 2016-10-10
Participants:
Linked BF Score: 0

 Description   

Currently, `KVEngine::getRecordStore` returns a pointer allocated with the `new` keyword. Returning a unique pointer is preferred, as it (among other things) will automatically deallocate when it goes out of scope.



 Comments   
Comment by Githook User [ 04/Oct/16 ]

Author:

{u'name': u'Sam Rossi', u'email': u'sam.rossi@mongodb.com'}

Message: SERVER-26434 Change `KVEngine::getRecordStore` to return a unique pointer
Branch: master
https://github.com/mongodb/mongo/commit/32e57b5547d8bb1ee9693f043130af62beac4a96

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