-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-10-14
(Subtask to achieve SERVER-84243 - Dedicate a catalog cache and loader to the shard role. For more information refer to this document)
We are introducing a new class called FilteringMetadataCache. This class will handle the refreshing of filtering metadata for collections and databases in a shard.
To achieve this, we will move all the free functions from the shard_filtering_metadata_refresh.cpp file into the new FilteringMetadataCache class. This will provide a more structured and centralized way to manage and refresh sharding metadata, and will also expose a public API that is easy to use and maintain.
The technical steps for this implementation are as follows:
- Create a new decoration of the service context called FilteringMetadataCache.
- Include the free functions from shard_filtering_metadata_refresh.cpp file in the new FilteringMetadataCache class.
- Update all existing usages of the previous free functions to now use the new API.
- related to
-
SERVER-84243 Dedicate a catalog cache and loader to the shard role
- In Progress