Details
-
Improvement
-
Resolution: Won't Do
-
Minor - P4
-
None
-
None
-
None
-
None
Description
When users set MaxAwaitTime and Timeout , getMore s from change streams or cursors can currently append multiple maxTimeMS values. Remove maxTimeMS appension logic in batch cursor. Modify calculateMaxTimeMS to respect MaxTime for getMore unless Timeout is set and deadline will be exceeded. If deadline will be exceeded, throw ErrDeadlineWouldBeExceeded with relevant information.