[SERVER-5811] Make a killCursors command Created: 10/May/12  Updated: 05/Oct/18  Resolved: 14/Aug/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.1.7

Type: New Feature Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Qingyang Chen
Resolution: Done Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-18766 Implement manager for ClusterClientCu... Closed
depends on SERVER-19797 Hook up find command in mongos to the... Closed
Documented
is documented by DOCS-9569 Docs for SERVER-5811: Make a killCurs... Closed
is documented by DOCS-10043 killCursors command is not documented Closed
Related
is related to SERVER-5813 Create a shell helper to kill a curso... Closed
is related to SERVER-4898 Add a "getCollectionNames" command Closed
is related to DRIVERS-211 New commands for find, getMore, and k... Closed
is related to SERVER-12517 Add listIndexes command Closed
is related to SERVER-7775 Make special commands (inprog, killop... Closed
is related to DOCS-12114 KillCursors for 2.6 and 3.0 Closed
Backwards Compatibility: Fully Compatible
Sprint: QuInt 8 08/28/15
Participants:

 Description   

Goal is to migrate away from kill cursor op code because it does not have the namespace.

The new command should require the namespace (or an array of namespace,id pairs) so auth and locking can be improved.



 Comments   
Comment by Qingyang Chen [ 14/Aug/15 ]

Work for the shell will be completed in SERVER-5813

Comment by Githook User [ 14/Aug/15 ]

Author:

{u'username': u'coollog', u'name': u'Qingyang Chen', u'email': u'qingyang.chen@10gen.com'}

Message: SERVER-5811 ClusterKillCursorsCmd
Branch: master
https://github.com/mongodb/mongo/commit/7ef276007ccf21dd4bb36f7e7087df2f2e1b4c73

Comment by Githook User [ 16/Jul/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-5811 update killCursors command response to conform to changes in the spec
Branch: master
https://github.com/mongodb/mongo/commit/3730754780a7598d4f76bbdc1664a7cb3175cf10

Comment by Githook User [ 23/Jun/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-5811 implement the killCursors command for mongod

Implementing the killCursors command in mongos and the mongo shell is further work.
Branch: master
https://github.com/mongodb/mongo/commit/b8f0f273d8f2db1aed1974b94c9b18a63656ad48

Comment by Christian Amor Kvalheim [ 24/Mar/15 ]

Adding the killcursor command as well as the find and getmore command already in code review would allow all current wire protocol operations to be contained in the new OP_COMMAND/OP_COMMANDREPLY hugely simplifying the design of any third party drivers that want to use MongoDB. This would hopefully simplify existing drivers going forward as we can slowly deprecate the existing wire protocol in favor of the RPC model introduced with OP_COMMAND/OP_COMMANDREPLY

Comment by Eliot Horowitz (Inactive) [ 11/May/12 ]

SERVER-5813 is better

Generated at Thu Feb 08 03:09:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.