-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
This is part 2 of a two-part work derived from SERVER-82707.
The catalog cache is currently hard-coded to a set size (10,000 entries). We want to be able to dynamically resize it at run time (part 1 - SERVER-100777). Then, cluster parameters for the catalog cache will be introduced to exercise resizing across the cluster through the command line (part 2 - this ticket).
Part 2: Adding cluster parameters for dynamic resizing of catalog cache
Work has already been done to make this possible. An intern, Andres, accomplished some of this as a mini-project in SERVER-84243. The catalog cache, in the meanwhile, has been split into multiple caches (SERVER-84243), and hence, this work needs to be brought onto the current state of the master.
This ticket will follow from part 1 - SERVER-100777. Once that works, changing the catalog cache size in runtime will be possible. This ticket will add cluster parameters to make that functionality accessible through the command line. The work done by Andres has a limitation that this ticket will need to address: The parameterization is done through the cluster parameters, which would trigger onUpdate callback frequently on the routers, I believe every 30 seconds. This will result in a lock taken to set the parameters, even when the parameters have not changed. We will need to fix that here.
- depends on
-
SERVER-100777 Add the ability to change the catalog cache size in runtime
-
- Open
-
- is depended on by
-
SERVER-82707 Improve CatalogCache eviction policy
-
- Blocked
-