[SERVER-59044] Handle empty time series collection for $sample in the TrialStage Created: 02/Aug/21 Updated: 29/Oct/23 Resolved: 03/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.3, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Cox (Inactive) | Assignee: | Eric Cox (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.0
|
||||||||
| Steps To Reproduce: | Run the jstestfuzz script, ./buildscripts/resmoke.py run --suites=jstestfuzz --storageEngine=wiredTiger --jobs=1 --mongodSetParameters='{logComponentVerbosity: {command: 2}}' --storageEngineCacheSizeGB=1 ~/out/jstestfuzz-1e35-ent_b9eb-qa_a6ce-1627041239535-07.js |
||||||||
| Sprint: | QE 2021-08-09 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 150 | ||||||||
| Description |
|
if numRecords is zero then this expression evaluates to nan on x86 and -nan in arm64 https://github.com/10gen/mongo/blob/master/src/mongo/db/pipeline/pipeline_d.cpp#L224 |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 12/Aug/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: (cherry picked from commit bb6ec30bcbbb7b16f9f1c80cc3c9a99efcd5687c) |
| Comment by Githook User [ 03/Aug/21 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: |
| Comment by Githook User [ 03/Aug/21 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |