[SERVER-64300] timeseries_predicates assertion fails when tenant migration aborts Created: 07/Mar/22  Updated: 29/Oct/23  Resolved: 23/Mar/22

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

Type: Bug Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (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
Steps To Reproduce:

We can reproduce the issue by bypassing the clear operation during one of the tests.  This will cause the timeseries match operation to return duplicate entries, and this effect matches the results logged by this issue.

Sprint: Server Serverless 2022-03-21, Server Serverless 2022-04-04
Participants:
Linked BF Score: 7

 Description   

timeseries_predicates tests are run with a comparison assertion between normal data and timeseries data.  As part of test setup, the buckets system collection is cleared, but the success of this operation is not asserted.  During a tenant migration, the clear operation can silently fail if the migration is aborted.



 Comments   
Comment by Githook User [ 23/Mar/22 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-64300 Assert success of clearing collection in timeseries test
Branch: master
https://github.com/mongodb/mongo/commit/7d8225919943c7ea5fa52a2c66cdb6b2d33785d0

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