[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: |
|
||||||||
| 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: |