Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1994

Driver should use already-checked out AsyncConnection to kill a cursor.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.0
    • None
    • Async, Query Operations
    • None

    Description

      The asynchronous cursor implementation checks out a new connection from the pool in order to send a kill cursor message. But that's unnecessary, because in most cases it already has a connection checked out, either from the initial query or a subsequent get-more. In those cases, it should use the connection that's already available rather than check out a new one.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: