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

Refresh ReplicaSetMonitor using TaskExecutor, get rid of ReplicaSetMonitorWatcher

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL

      Remove ReplicaSetMonitorWatcher.
      Instead in ReplicaSetMonitor c-tor schedule a call via TaskExecutor and on callback update hosts and reschedule at a 10 seconds interval. The interval should be randomized to avoid simultaneous calls.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: