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

cursorHandleFromId should verify that its not being called on a closed connection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.6, 4.0.0-rc0
    • Shell
    • Fully Compatible
    • ALL
    • v3.6
    • Platforms 2018-05-07
    • 25

    Description

      The old implementation of DBCommandCursor used when running the shell with --readMode compatibility calls getConnection(which checks if the connection has been closed) to construct a DBClientCursor which it passes to setCursor. The new variant used with --readMode command calls setCursorHandle with the cursor ID. This new variant doesn't check if the connection has been closed.

      Attachments

        Issue Links

          Activity

            People

              jason.carey@mongodb.com Jason Carey
              spencer.jackson@mongodb.com Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: