Refresh ReplicaSetMonitor using TaskExecutor, get rid of ReplicaSetMonitorWatcher

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: