[CDRIVER-4130] Allow exhaust cursor to fallback to normal cursor if server does not support OP_QUERY Created: 16/Aug/21  Updated: 28/Oct/23  Resolved: 15/Dec/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.21.0

Type: Improvement Priority: Unknown
Reporter: Esha Bhargava Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Related
related to CDRIVER-4244 Use OP_MSG for exhaust cursors on 4.2... Closed
Server Compat: 5.1
Quarter: FY22Q3

 Description   

See DRIVERS-1857.



 Comments   
Comment by Githook User [ 15/Dec/21 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CDRIVER-4130 Unconditionally use OP_MSG for server 5.1 and newer (#912)

  • Warn and ignore exhaust cursor option given server 5.1 or newer
  • Unconditionally use OP_MSG for find command given server 5.1 or newer
  • Unconditionally use OP_MSG for getMore command given server 5.1 or newer
  • Avoid unnecessary exhaust cursor in /counters/op_msg test
  • Document exhaust option behavior for find command
  • Add /Client/exhaust_cursor/fallback test for server 5.1 and newer
    Branch: master
    https://github.com/mongodb/mongo-c-driver/commit/5d4758986240e0cddae84bb35a2359f2b5abc30b
Generated at Wed Feb 07 21:20:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.