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

Refresh ReplicaSetMonitor using TaskExecutor, get rid of ReplicaSetMonitorWatcher

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: