Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
This was discovered in expectation comparisons of retryable reads.
The logic of countDocuments here:
https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#countdocuments
Indicates we should always prepend the $match, even if a user does not provide a filter.