-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Cluster Scalability
-
Sharding EMEA 2023-10-02
With the introduction of the Shard Role API under PM-2144 all new code which accesses data from the storage engine must go through one of the acquireCollection variants, which enforce a much stricter contract between the sharding catalog, local catalog and storage engine data.
In order to converge towards the new API we want to disallow the introduction of any new usages of AutoGetDb/Collection and its friends.
This ticket is to move all the variants of the AutoGetDb/Collection API to some internal-sounding namespace (such as collection_internal::) and add a clang-tidy rule to prevent any new usages.