As part of SPM-635, we implemented the necessary changes to support the getClusterParameter command via the embedded router.
In these changes, we introduced the set_cluster_parameter_impl library, which is linked to both the mongos and mongod.
However, this creates an issue because this library has an implicit dependency on mongod_fcv -> feature_compatibility_version_gen, which exposes the featureCompatibilityVersion parameter to the router.
In other words, the mongos now has a concept of FCV and can respond to the command:
db.adminCommand({ getParameter: 1, featureCompatibilityVersion: 1 })
The goal of this ticket is to resolve the incorrect library injection by removing the implicit linking of feature_compatibility_version.idl from the mongos.
- is caused by
-
SERVER-82587 Remove the use of MONGO_WEAK_FUNCTION from set_cluster_parameter
-
- Closed
-