-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
Fully Compatible
-
Service Arch 2024-01-08, Service Arch 2024-01-22, Service Arch 2024-02-05, Service Arch 2024-02-19
Support cluster getClusterParameter command in embedded router. We can't use the mongos implementation directly because it refreshes cluster parameter values and FCV from the config server, and the uses that data to change the value of parameters in-memory. Mongod, however, changes the in-memory values based on an OpObserver for when it replicates the writes that represent the cluster-parameter changes.
The current proposed solution is to use the in-memory parameter-changing logic from the shard-role, but have the command return the values it fetches from the config servers. This means that the in-memory values of cluster parameters in the embeded router may no longer strictly lag the configsvr/cluster-wide committed values; instead, they may advance earlier, when the in-process shard-role replicates an in-progress cluster parameter change. However, this will still provide an eventually-consistent semantic, and offers the code on the router the same semantics w/r/t the in-memory values that the shard-role has.
- is depended on by
-
SERVER-86440 getClusterParameter doesn't work correctly on embedded router
- Closed
- related to
-
SERVER-86724 Complete TODO listed in SERVER-83421
- Open