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

Clarify internal ownership structures in BucketCatalog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Execution Team 2021-03-22, Execution Team 2021-04-05

    Description

      Currently the internal architecture of BucketCatalog relies heavily on shared_ptrs and weak_ptrs. This leads to some confusing ownership semantics, and it becomes difficult to reason about object lifetimes. We should be able to make use of unique_ptrs in a single location, and raw pointers or references elsewhere as necessary.

      Attachments

        Activity

          People

            dan.larkin-york@mongodb.com Dan Larkin-York
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: