[SERVER-56562] buckets collection query in timeseries_collation.js does not specify sort order Created: 02/May/21  Updated: 29/Oct/23  Resolved: 04/May/21

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

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-56637 update sort order in buckets collecti... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-05-17
Participants:
Linked BF Score: 77

 Description   

The test checks the contents of the bucket collection with an implied _id order but the lack of an explicit sort order on the query may lead to inconsistent results across different storage engines depending on how the server scans the buckets collection.



 Comments   
Comment by Githook User [ 03/May/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-56562 sort buckets collection query results by control.min._id in test for more predictable comparison
Branch: master
https://github.com/mongodb/mongo/commit/20b86d14a58f5862fa0eeec1f2bfac3161797730

Generated at Thu Feb 08 05:39:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.