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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: Async, Query Operations
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: