-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The RouterUptimeReporter is a component responsible primarily for periodically pinging the config server from the router to report that the router is still up.
However, it also has the responsibility to periodically refresh RWC defaults and the balancer configuration.
This adds confusion in the case of mongod's embedded-routing capability; for the router-role in mongod to be correct, it still needs to periodically refresh these configurations. But, it shouldn't always report itself as a router to the config server, because the routing capability may not be available to the user (i.e. it should only report itself as a router if the routerPort is opened, not just for the internal routing capability).
Today, this is handled by conditionals in the code, but it would be better to separate out this responsibility into a more obvious place.
- related to
-
SERVER-87743 Handle differing ReadWriteConcernDefault behavior between roles
-
- Closed
-