-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2024-07-22, CAR Team 2024-08-05, CAR Team 2024-08-19, CAR Team 2024-09-02, CAR Team 2024-09-16
We will need to select the DB primary on the router for the new createDatabase DDL coordinator. For now, we can just always select the first shard (retrieved through an ordered find() from config.shards)
We currently use selectLeastLoadedNonDrainingShard(). We can start with a similar interface for the new util function.