[SERVER-40714] Change CollectionInfoCache to be a decoration (rather than a member) on Collection object Created: 18/Apr/19  Updated: 29/Oct/23  Resolved: 07/Aug/19

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

Type: Bug Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-42147 Make TTL mechanism maintain UUIDs rat... Closed
Related
is related to SERVER-42651 Make CollectionQueryInfo actively det... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Execution Team 2019-06-03, Execution Team 2019-06-17, Execution Team 2019-07-01, Execution Team 2019-07-15, Execution Team 2019-08-12
Participants:

 Description   

The CollectionInfoCache has been an issue for catalog maintenance, as it heavily relies on the "register/unregister/invalidate" idiom: it really ties a lot of query-specific things into the storage catalog. So, remove this class and create a new CollectionQueryInfo decoration on the Collection class holding the PlanCache, QuerySettings, UpdateIndexData and CollectionIndexUsageTracker.



 Comments   
Comment by Githook User [ 07/Aug/19 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-40714 Change CollectionInfoCache to be a decoration (rather than a member) on Collection object
Branch: master
https://github.com/mongodb/mongo/commit/455b66c00bc5f885621477b63a7bfb2997ef59ae

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