Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-100224

feature_compatibility_version.idl should not be linked to mongos

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.2.0, 7.3.0, 8.0.0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: