[SERVER-80405] Create SBE plan cache eviction integration tests Created: 24/Aug/23  Updated: 05/Sep/23

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

Type: Task Priority: Major - P3
Reporter: Matt Boros Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

There are no jstests that test SBE plan cache eviction due to reaching the cache size limit. There are unit tests, but this feature should also be integration tested.

Here is a patch that adds an invariant(0) to the LRU cache eviction code. The failures are from query stats tests (which also use the LRU map) and unit tests. There are no failures from plan cache tests.
https://spruce.mongodb.com/version/64e7933e2fbabe81193b4d85/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC


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