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

ClusterClientCursorImpl isn't a safe raii type after releaseCursor

    XMLWordPrintableJSON

Details

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

    Description

      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).

      Attachments

        Activity

          People

            george.wangensteen@mongodb.com George Wangensteen
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: