[CSHARP-1951] Use killCursors command with MongDB 3.2 and up Created: 23/Mar/17  Updated: 17/Dec/18  Resolved: 17/Dec/18

Status: Closed
Project: C# Driver
Component/s: Operations
Affects Version/s: 2.4.3
Fix Version/s: 2.8.0

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Dmitry Lukyanov (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-363 Replace OP_KILL_CURSORS with killCurs... Closed
Epic Link: DRIVERS tickets mop-up

 Description   

MongoDB introduced a killCursors command in 3.2 to go along with the find and getMore commands. The .NET 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 .NET driver should use the killCursors command with server versions >= 3.2.



 Comments   
Comment by Githook User [ 17/Dec/18 ]

Author:

{'username': 'dmitry-lukyanov', 'email': 'dmitry_lukyanov@epam.com', 'name': 'Dmitry Lukyanov'}

Message: CSHARP-1951: Use killCursors command.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1a4742b2fc31f5586e8df8e0d40a2e08c2623ef6

Generated at Wed Feb 07 21:41:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.