[SERVER-36226] Make get(Grouped)SortedDataInterface return a unique pointer Created: 20/Jul/18  Updated: 29/Oct/23  Resolved: 12/Jun/19

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

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Zach Yam (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-37288 make get{Grouped,}SortedDataInterface... Closed
is duplicated by SERVER-38276 KVEngine::get{Grouped,}SortedDataInte... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-08-13, Execution Team 2019-06-03, Execution Team 2019-06-17
Participants:

 Description   

Currently these methods return bare pointers even though we transfer ownership. Use unique_ptr instead.



 Comments   
Comment by Githook User [ 13/Jun/19 ]

Author:

{'name': 'Zach Yam', 'email': 'zach.yam@mongodb.com', 'username': 'zachyam'}

Message: SERVER-36226 Make get(Grouped)SortedDataInterface return a unique pointer
Branch: master
https://github.com/mongodb/mongo/commit/027a917ad08296f90a1a4a010daf990c5f92beb6

Comment by Zach Yam (Inactive) [ 12/Jun/19 ]

Github commit: https://github.com/mongodb/mongo/commit/90a74a50044d4daff7fa66e050bd76e70a0c7e56

 

Reverted commit. https://github.com/mongodb/mongo/commit/0eb5d53338bfcff847ce1b9e34b7344dcaf9ed84

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