-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
1
In setAllowMigrationsAndBumpOneChunk we are forcing a CatalogCache refresh, and then we use the ChunkManager just to check if the collection is sharded and its UUID. Thus, we don't really need to fetch/refresh the entire routing table. Instead, we could use the ShadingCatalogClient::getCollection() to more efficiently retrieve collection metadata.