-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Execution
-
Minor Change
-
QE 2024-08-19, QE 2024-09-02, QE 2024-09-16, QE 2024-09-30
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently our docs say $sample accepts positive integers:
https://www.mongodb.com/docs/manual/reference/operator/aggregation/sample/#mongodb-pipeline-pipe.-sample
But we can actually run a pipeline with size: 0.
- causes
-
SERVER-94154 Remove obsolete multiversion compatibility checks after 9.0 release
-
- Open
-
- is depended on by
-
COMPASS-8316 Investigate changes in SERVER-92586: Ensure $sample size is positive
-
- Closed
-
-
TOOLS-3670 Investigate changes in SERVER-92586: Ensure $sample size is positive
-
- Closed
-
- is related to
-
SERVER-92320 "Invalid call to memory usage tracker, could not find function" with explain, executonStats, $sample size 0
-
- Closed
-