-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2024-12-23, QE 2025-01-06, QE 2025-01-20, QE 2025-02-03, QE 2025-02-17
The MongoProcessInterface type hierarchy contains implementations that aren't really interfaces to a process but rather to a particular cluster role that a process can act as (i.e. "ShardSvrProcessInterface, ReplicaSetNodeProcessInterface") etc.
In particular, we use "MongosProcessInterface" as the interface into the routing-role facilities of a node. In a world where mongod offers routing facilities (i.e. shards can act as routers), and not just mongos, this name doesn't make as much sense. It would be nice to rename/refactor the types to bring them more in line with how they are used today.