-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
CAR Team 2024-11-11
Currently, the MultiCollectionRouter does not include the main namespace (nss) as part of the involved namespaces, preventing the shard version from being attached twice. This decision impacts the retriability of the StaleConfig exception, as the existing code assumes that the router role will not refresh if the namespace that triggered the exception is not included in the involved namespaces.
As a result, the main namespace does not refresh its routing information.
Today this is not an issue because the StaleConfig exception is handled by the shard role, which refreshes the filtering information. Consequently, this leads to an update of the routing information. Since this exception is retriable, the command will be retried and will succeed with the most current routing information.
However, once SERVER-95393 is implemented, the filtering metadata will no longer refresh the routing information, causing a StaleConfig exception to be returned to the user without converging.
- is depended on by
-
SERVER-95393 Use a ConfigServerCatalogCacheLoader for the router-role and a ShardServerCatalogCacheLoader for the shard-role
- In Code Review
- related to
-
SERVER-86801 CollectionRouter should not refresh and retry for unrelated namespaces
- Closed