-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Service Arch 2023-10-30, Service Arch 2023-11-13
set_cluster_parameter and associated commands uses MONGO_WEAK_FUNCTION to inject different implementations of a function into mongod and mongos. We need to link these commands into both processes to embed the router-role into mongod, so we need to remove the use of WEAK_FUNCTION to inject different implementations and replace it with a ClusterRole/mongo::Service-aware lookup of the correct implementation.