Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31138

ClusterClientCursorImpl isn't a safe raii type after releaseCursor

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

      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@mongodb.com George Wangensteen
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: