Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Execution
-
ALL
-
Query Execution 2021-07-12
-
19
Description
The current logic of $sampleFromRandomCursor is to throw a uassert when the random cursor returns too many (100) duplicate records. We should instead fallback to using a collection scan in this case.
Attachments
Issue Links
- is related to
-
SERVER-29446 $sample stage could not find a non-duplicate document while using a random cursor
-
- Closed
-