[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: |
|
||||||||||||||||||||
| 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: |