[SERVER-85144] Make test or_to_in independent of isCached explain value Created: 12/Jan/24  Updated: 14/Jan/24  Resolved: 14/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Timour Katchaounov Assignee: Timour Katchaounov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Sprint: QO 2024-01-22
Participants:
Linked BF Score: 50

 Description   

The reason for BF-31357 is that replication passthrough tests may create a situation where if a stepdown occurs between running comparison query1 and query2, the new primary may have no cached plan for the query and the isCached explain value may be different for the two queries. Since the test compares the whole winning plan this difference results in a test failure.

The fix is to make the test compare only the minimum necessary information from explain.



 Comments   
Comment by Githook User [ 12/Jan/24 ]

Author:

{'name': 'Timour Katchaounov', 'email': '34627040+timourk@users.noreply.github.com', 'username': 'timourk'}

Message: SERVER-85144 Make test or_to_in independent of isCached explain value (#18019)

GitOrigin-RevId: 279c9470ddeab2f2be45a2b8c6bb5eca7637e620
Branch: master
https://github.com/mongodb/mongo/commit/e1a8133d295b3be97313ec847aa3854d124336ca

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