[SERVER-68113] TimeSeriesSort test creates duplicate index on meta, time Created: 18/Jul/22  Updated: 29/Oct/23  Resolved: 27/Sep/22

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

Type: Bug Priority: Major - P3
Reporter: Matt Boros Assignee: Fausto Leyva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-10-03
Participants:
Linked BF Score: 0

 Description   

The TimeSeriesSort perf test creates an index on meta, time but since SERVER-66689 this index already exists when a time series collection is created and the TimeseriesScalabilityImprovements feature flag is on. When the test is run we now get an error due to the duplicate indexes. We should edit this test to only create this index if it doesn't exist already.

We should also verify that the plans for each query are correct after this change (or really if there's a way to assert something about a query plan in Genny that would be ideal)



 Comments   
Comment by Githook User [ 27/Sep/22 ]

Author:

{'name': 'Fausto J Leyva', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-68113 Drop all indexes after creating timeseries collection in TimeSeriesSort (#738)
Branch: master
https://github.com/mongodb/genny/commit/e2eaa5cc2b108204bc89f0f9670c1f70302464ca

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