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

Remove the CatalogCacheLoader as a decoration of the ServiceContext

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-10-14, CAR Team 2024-10-28

      (Subtask to achieve SERVER-84243 - Dedicate a catalog cache and loader to the shard role. For more information refer to this document)

       

      Today, the CatalogCacheLoader is a decoration of the service context. This means it can be accessed by many parts of the code, and over time, users have tended to access its methods incorrectly.

      Its methods should only be accessible via the CatalogCache from the Grid or the new introduced class FilteringMetadataCache.

      The goal of this task is to prepare the path to encapsulate a ShardServerCatalogCacheLoader inside the FilteringMetadataCache, and another instance as ConfigServerCatalogCacheLoader inside the CatalogCache of the Grid.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: