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

Re-enabling health checks should check if another pending check was already scheduled

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v5.2, v5.0
    • 177

    Description

      The test failure discovered two problems:
      1. If health checking is disabled, and then re-enabled quickly enough a scheduled check from the previous cycle that remains in the queue will be duplicated by another one. The logic to keep a scheduled check in the queue when disabled was supposed to be correct because when the time is due, the logic checks the enabled flag before doing anything
      2. When health checking is re-enabled it will happen in-line. Instead, it should be scheduled and return immediately.

      Attachments

        Activity

          People

            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: