[SERVER-57297] Support OP_MSG exhaust cursors on mongos Created: 28/May/21  Updated: 29/Oct/23  Resolved: 27/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Shane Harvey Assignee: Israel Hsu
Resolution: Fixed Votes: 0
Labels: invisiblesharding-m1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-535 Support Exhaust Cursor in OP_MSG Closed
is depended on by COMPASS-7056 Investigate changes in SERVER-57297: ... Closed
Documented
is documented by DOCS-16280 Investigate changes in SERVER-57297: ... Closed
Initiative
Related
related to SERVER-44517 Refactor exhaust cursors on top of ex... Closed
related to SERVER-36105 Implement server support for exhaust ... Closed
is related to PYTHON-4008 Support exhaust cursors on mongos 7.1+ Backlog
is related to PYTHON-2736 Investigate exhaust support in Comman... Backlog
Assigned Teams:
Sharding NYC
Backwards Compatibility: Minor Change
Sprint: Sharding NYC 2023-07-10, Sharding NYC 2023-07-24, Sharding NYC 2023-08-07
Participants:

 Description   

SERVER-36105 added support for OP_MSG exhaust cursors for both mongod and mongos in 4.2. Later in SERVER-44517 support for exhaust on mongos was removed in 4.4 (for the good reason that the mongos code path was untested). This ticket request that OP_MSG exhaust cursors be officially supported on mongos.

DRIVERS-535 depends on this feature since we don't want to add a feature to drivers which doesn't work in sharded clusters. The motivation is that exhaust cursors can provide better query performance.

Another potential improvement is for Load Balanced clusters. When the driver is connected through a load balancer it automatically pins the connection to the cursor. Since the connection is already pinned, it would be possible to automatically use exhaust cursors to (potentially) improve performance.



 Comments   
Comment by Githook User [ 27/Jul/23 ]

Author:

{'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'}

Message: SERVER-57297 enable mongos exhaust cursor
Branch: master
https://github.com/mongodb/mongo/commit/d5b53839c9e5724e9baad3dbe39e102b006d2188

Generated at Thu Feb 08 05:41:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.