[SERVER-51153] maxTimeMS on find caps getMore execution time for tailable non-awaitData cursors Created: 25/Sep/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Operating System: ALL
Participants:

 Description   

Running a find command with maxTimeMS that creates a tailable, non-awaitData cursor will set a limit on the server-side execution time for future getMore requests. This gist shows a series of find and getMore commands to reproduce the issue: https://gist.github.com/kevinAlbs/34e377d226a0394d016de436bfe829ef. The initial find command is run against a non-empty capped collection. Note that this is probably also an issue for aggregate.

CC kevin.albertson bernard.gorman


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