-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
Query Execution 2021-07-12
-
19
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.
- is related to
-
SERVER-29446 $sample stage could not find a non-duplicate document while using a random cursor
- Closed