Remove the use of MONGO_WEAK_FUNCTION from set_cluster_parameter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2023-10-30, Service Arch 2023-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            George Wangensteen (Inactive)
            Reporter:
            George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: