[SERVER-60066] Implement plan cache invalidation on collection drop Created: 19/Sep/21  Updated: 29/Oct/23  Resolved: 04/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: Alexander Ignatyev
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-59682 Recover SBE plans from the new plan c... Closed
Related
related to SERVER-65083 Thread seeing different set of indice... Closed
related to SERVER-60067 When index is dropped invalidate only... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-10-04, QO 2021-10-18, QO 2021-11-01, QO 2021-11-15
Participants:

 Description   

The SBE plan cache is designed as process-global, as opposed to per-collection in the classic engine, meaning that invalidation process will be more subtle. Namely, when a collection is dropped we will need to invalidate only those plan cache entires which depend on this collection.



 Comments   
Comment by Githook User [ 03/Nov/21 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-60066 Remove plan cache entries on collection drop
Branch: master
https://github.com/mongodb/mongo/commit/aebaaf20a7dea071770976aed8533f011c722b8c

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