ClusterClientCursorImpl isn't a safe raii type after releaseCursor

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2019-07-29, Query 2019-08-12, Query 2019-08-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The cluster client cursor impl returned by CursorEntry->releaseCursor() isn't safe to destroy. If it isn't put into a pinned cursor, it will invariant on destruction (due to getting cleaned up without actually being in the manager).

      We probably shouldn't have types like that (and mongod cursors don't work that way).

              Assignee:
              George Wangensteen (Inactive)
              Reporter:
              Mira Carey
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: