[SERVER-78943] Test LRUCache eviction behavior for large queryStats entries Created: 13/Jul/23  Updated: 29/Oct/23  Resolved: 08/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Naama Bareket Assignee: Maddie Zechar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85105 Tracking: PM-2885 Milestone 0 Closed
Related
is related to SERVER-78985 add comment explaining PartitionedCac... Closed
is related to SERVER-79794 Add unit test to see if 16MB >= query... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-08-07
Participants:

 Description   

Investigate what would happen if a query was 16MB, since this is the max a BSONObj can hold. This is a concern in terms of if the query shape is then larger and the BSONObj refuses to grow. In addition, once the query stats store partitions are capped at 16MB, the entry may be larger than that cap and therefore evict all entries in the partition.



 Comments   
Comment by Githook User [ 08/Aug/23 ]

Author:

{'name': 'madelinezec', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}

Message: SERVER-78943 Test LRUCache eviction behavior for large queryStats entries
Branch: master
https://github.com/mongodb/mongo/commit/ab59b83732583d400e6581992d958e4f4f64b555

Comment by Maddie Zechar [ 26/Jul/23 ]

is this ticket looking for jstest coverage of large queries? or sys-perf coverage? or possibly both?

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