[SERVER-73959] Add option to TaskExecutorCursor to not pre-fetch documents Created: 13/Feb/23  Updated: 29/Oct/23  Resolved: 10/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 6.0.7, 5.0.19, 7.0.0-rc3

Type: Improvement Priority: Major - P3
Reporter: Ted Tuckman Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-76766 Query knob for no-prefetch TaskExecut... Backlog
is depended on by SERVER-76404 Call the no-prefetch TaskExecutorCurs... Closed
Duplicate
is duplicated by SERVER-74355 Add runtime parameter to disable pre ... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Sprint: QO 2023-05-15
Participants:

 Description   

Not all search queries should immediately fetch a second batch, instead the cursor should expose an option to enable/disable this behavior. The caller may want to only request a second batch once the first has been exhausted



 Comments   
Comment by Githook User [ 29/Jun/23 ]

Author:

{'name': 'Militsa Sotirova', 'email': 'militsa.sotirova@mongodb.com', 'username': 'militsasotirova'}

Message: SERVER-73959 Add option to TaskExecutorCursor to not prefetch next batch
Branch: v5.0
https://github.com/mongodb/mongo/commit/861ff9ef4b970de05d68746a4975657515b9a3a3

Comment by Githook User [ 31/May/23 ]

Author:

{'name': 'Militsa Sotirova', 'email': 'militsa.sotirova@mongodb.com', 'username': 'militsasotirova'}

Message: SERVER-73959 Add option to TaskExecutorCursor to not prefetch next batch
Branch: v6.0
https://github.com/mongodb/mongo/commit/d9d1727d12e86cb389ac8140faefd20d9900352c

Comment by Githook User [ 31/May/23 ]

Author:

{'name': 'Militsa Sotirova', 'email': 'militsa.sotirova@mongodb.com', 'username': 'militsasotirova'}

Message: SERVER-73959 Add option to TaskExecutorCursor to not prefetch next batch
Branch: v7.0
https://github.com/mongodb/mongo/commit/0f6291177b7ba9072f5f1d0669abca87c0f7c654

Comment by Githook User [ 10/May/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-73959 Add option to TaskExecutorCursor to not prefetch next batch
Branch: master
https://github.com/mongodb/mongo/commit/680b65808f905ed796b4afe14c2990fc7d1d1646

Generated at Thu Feb 08 06:26:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.