Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62947

Refactor RSM code to remove `ReplicaSetMonitorInterface`

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 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`.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            andrew.witten@mongodb.com Andrew Witten (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: