-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
None
-
3
-
TBD
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Before SERVER-109078, there was a clang-tidy rule ensuring that no usage of CollectionShardingRuntime appeared outside mongo/db/s. During that work, it was decided to remove the check, with the intention of reintroducing it in a new ticket.
The idea is to pursue one of the following two options:
- Reintroduce the clang-tidy rule for CollectionShardingRuntime, updating it with the new paths (mongo/db/local_catalog, mongo/db/global_catalog, etc).
- Use the modularization work to mark the sharding runtime implementations (DatabaseShardingRuntime and CollectionShardingRuntime) as private, and explicitly declare which modules are permitted to use them.
- is related to
-
SERVER-109078 Initial pass at restructuring CAR components into a new subfolder hierarchy under src/mongo/db
-
- Closed
-
- related to
-
SERVER-70047 Add linter rule that checks CollectionSharingRuntime is not used outside sharding code
-
- Closed
-