Propagate maxTimeMS
of find
and aggregate
to getMore
#2983
Labels
area/cursors
Issues about cursors
area/oplog
Issues about OpLog and capped collections
code/enhancement
Some user-visible feature could work better
not ready
Issues that are not ready to be worked on; PRs that should skip CI
What should be done?
https://www.mongodb.com/docs/manual/reference/method/cursor.maxTimeMS/#mongodb-method-cursor.maxTimeMS
https://www.mongodb.com/docs/manual/reference/command/aggregate/#command-fields
When
maxTimeMS
is set onfind
andaggregate
, any subsequent calls oncursor.Next()
which triggersgetMore
uses the samemaxTimeMS
.Where?
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/pg/msg_aggregate.go
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/pg/msg_find.go
Definition of Done
The text was updated successfully, but these errors were encountered: