Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26434

`KVEngine::getRecordStore` should return a unique pointer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0-rc1
    • Component/s: Internal Code, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Integration 2016-10-10
    • 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.

        Attachments

          Activity

            People

            Assignee:
            sam.rossi Samuel Rossi (Inactive)
            Reporter:
            sam.rossi Samuel Rossi (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: