Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12114

KillCursors for 2.6 and 3.0

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual, Server
    • None

    Description

      Description

      https://docs.mongodb.com/manual/reference/command/killCursors/ states that killCursors are new in version 3.2, however, while implementing https://jira.mongodb.org/browse/DRIVERS-430 I observed that 2.6 and 3.0 servers have killCursors command.

      Unlike 3.2+ servers, the older servers do not return any of the cursor count fields (cursorsNotFound/cursorsKilled/cursorsAlive/cursorsKilled). These just return

      {ok:1}

      .

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago