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

Remove the use of MONGO_WEAK_FUNCTION from set_cluster_parameter

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: