Investigate usage validity of CollectionPtr::CollectionPtr_UNSAFE

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Server Integration
    • Fully Compatible
    • TheReturnOfAaron - 2025-08-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Please review the code associated with this ticket (mentioned as TODO(TICKET-NUMBER) in the code).
      Using the CollectionPtr constructor with a Collection* is considered as unsafe as the Collection* could go stale. Please use the CollectionPtr(ConsistentCollection collection) constructor instead of the CollectionPtr::CollectionPtr_UNSAFE static function through the acquisition API or write a reasoning as a replacement of the TODO comment in the code why is it not feasible to replace.

            Assignee:
            Nic Hollingum
            Reporter:
            Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: