[SERVER-82587] Remove the use of MONGO_WEAK_FUNCTION from set_cluster_parameter Created: 30/Oct/23 Updated: 01/Nov/23 Resolved: 01/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | George Wangensteen | Assignee: | George Wangensteen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Service Arch 2023-10-30, Service Arch 2023-11-13 |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 01/Nov/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: |