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

openCollection should return CollectionPtr

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-10-31

    Description

      Collection instances created by openCollection have their lifetime managed by the storage snapshot. We do not need to return a shared_ptr and can return a CollectionPtr to make it easier for the caller by using the same return type as the regular collection lookup functions.

      Attachments

        Activity

          People

            will.buerger@mongodb.com Will Buerger
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: