Prepare to remove CollectionPtr(const Collection*) constructor

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-17, CAR Team 2025-03-03, CAR Team 2025-03-17, CAR Team 2025-03-31, CAR Team 2025-04-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Wolfee Farkas
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: