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

Use killCursors command with MongoDB 3.2 and up

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • None

      MongoDB introduced a killCursors command in 3.2 to go along with the find and getMore commands. The Java driver, however, doesn't use it, as there were no ill effects of not using it. However, Atlas free tier handles only the killCursors command and ignores OP_KILL_CURSORS. Given this limitation, and the possibility that the server will ultimately deprecate OP_KILL_CURSORS, the Java driver should use the killCursors command with server versions >= 3.2.

            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: