[SERVER-80374] Investigate and fix issues on DEBUG builds and timeseries with groups on metadata fields Created: 24/Aug/23  Updated: 07/Dec/23  Resolved: 27/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Peter Volk Assignee: Irina Yatsenko (Inactive)
Resolution: Fixed Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File logs_debug_build_with_failure.txt    
Issue Links:
Depends
Assigned Teams:
Query Integration
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QI 2023-11-27, QI 2023-12-11
Participants:
Linked BF Score: 26

 Description   

Only on DEBUG builds a statement containing a group by with metadata fields against a timeseries collection returns a different number of results compared to a non-timeseries reference collection. The specific test failing is within the timeseries_lastpoint_top.js test. 



 Comments   
Comment by Githook User [ 27/Nov/23 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-80374 Rewrite timeseries lastpoint tests
Branch: master
https://github.com/mongodb/mongo/commit/1348c7a3a4c26001638cdb81f3977a0c5cfa3f6e

Comment by Irina Yatsenko (Inactive) [ 13/Oct/23 ]

The failure in DEBUG is caused by SERVER-82197 (DEBUG builds force more aggressive spilling). However, the test is severely over-engineered. My vote is to simplify it into something more maintainable.

Comment by Steve Tarzia [ 31/Aug/23 ]

Nick pointed out in our Triage meeting that DEBUG builds spill to disk on every getNext().

Generated at Thu Feb 08 06:43:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.