feature_compatibility_version.idl should not be linked to mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.1, 8.0.12
    • Affects Version/s: 7.2.0, 7.3.0, 8.1.0-rc0, 8.0.0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.1, v8.0
    • CAR Team 2025-03-03, CAR Team 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Pol Pinol
              Reporter:
              Pol Pinol
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: