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

Should not attempt to close a non-existing cursor

    • Fully Compatible
    • v4.0
    • TIG 2018-06-18
    • 0

      Calling close on a cursor will attempt to close the cursor even if the cursor does not exist. Which causes an exception to be thrown. This becomes a problem if we hit an issue trying to create the cursor. The calling code does not know whether the cursor was created or not so cannot know if it can safely call close without viewing the internals of the cursor code. 

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: