[SERVER-59680] Partition the cache to avoid a bottleneck on a single plan cache mutex Created: 31/Aug/21  Updated: 29/Oct/23  Resolved: 02/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Joshua Lapacik (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-60787 Replace WithAlignment inheritance wit... Closed
Problem/Incident
causes SERVER-63867 There should be an option to disable ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-09-20, QO 2021-10-04, QO 2021-10-18, QO 2021-11-01, QO 2021-11-15
Participants:
Linked BF Score: 134

 Description   

The sbe::PlanCache consists of n partitions, where n is chosen during process startup based on the number of cores. We can implement partitioning based on the pre-existing Partitioned utility.



 Comments   
Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'joshua', 'email': '80741223+jlap199@users.noreply.github.com', 'username': 'jlap199'}

Message: SERVER-59680 Partition the plan cache
Branch: master
https://github.com/mongodb/mongo/commit/cd6a70b2343a9ba10ba36b6ba66518f60d26bf81

Generated at Thu Feb 08 05:47:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.