Investigate usage validity of CollectionPtr::CollectionPtr_UNSAFE

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • 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:
            Unassigned
            Reporter:
            Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: