[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: |
|
||||
| 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: |