Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Cluster Scalability
-
2
Description
The class hierarchy for RSM looks like `ReplicaSetMonitorInterface -> ReplicaSetMonitor -> StreamableReplicaSetMonitor`. We could refactor the code to remove `ReplicaSetMonitorInterface`.
Also, to reduce the need for casting, we should consider adding virtual function `getEventsPublisher` to `ReplicaSetMonitor`.