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

Remove CollectionPtr(const Collection*) constructor

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-02-17, CAR Team 2025-03-03

      In SERVER-90992 we had to leave the constructor for const Collection * untouched to avoid a lot of code churn.

      Originally the intent was to replace it with a static method with the word UNSAFE written somewhere in its name to signal old users that they should replace its usages with the safer constructor.

      This ticket is about considering whether to go through the churn and open TODO tickets in the leftover places or not.

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: