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

Use a ConfigServerCatalogCacheLoader for the router-role and a ShardServerCatalogCacheLoader for the shard-role

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 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)

       

      The goal of this task is to make the CatalogCache of the Grid to use the ConfigServerCatalogCacheLoader (CSCCL) and create a new instance of the CatalogCache and CatalogCacheLoader for the FilteringMetadataCache to only be used in that class. The last instance will be using the ShardServerCatalogCacheLoader (SSCCL).

      By doing this, we aim to achieve the following: 

      • The CatalogCache used in the Grid will only reference routing information via CSCCL.
      • The FilteringMetadataCache class will be responsible for updating the filtering metadata in the CSS and DSS via a new instance of the CatalogCache that uses SSCCL.

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

              Created:
              Updated: