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

Use killCursors command with MongoDB 3.2 and up

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.0
    • None
    • Query Operations
    • None

    Description

      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.

      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: