Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40714

Change CollectionInfoCache to be a decoration (rather than a member) on Collection object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • 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

      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.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: