Modify ScopedCollectionAcquisition to be a smart pointer that's passed by value

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution EMEA Team 2023-06-26, Execution EMEA Team 2023-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to implement proper getMore functionality with the Shard Role API we need to modify ScopedCollectionAcquisition to be a smart pointer.

      Right now the class is already "smart pointer"-like, but lacks the reference counting logic. This means that it automatically removes the acquisition once it goes out of scope, but this makes implementing getMore impossible since the scope is not preserved anywhere.

              Assignee:
              Jordi Olivares Provencio
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: