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

Individual health observers should return an error if a timeout period elapses when doing a single health check

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0, 4.4.12
    • None
    • Fully Compatible
    • v5.2, v4.4

    Description

      There are a number of ways to achieve this. We want this timeout to be a property of the health obsever so that individual observers can adjust it based on their use case. Below is an example:

      • Define the timeout period for a single health check as a property of health observers.
      • Define a type that takes a Future and timeout value as input, and returns a Future as output such that the returned Future is satisfied when the timeout period has expired or the input future is satisfied. Whichever comes first.
      • Wrap the future here with this new type.

      Attachments

        Activity

          People

            kshitij.gupta@mongodb.com Kshitij Gupta
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: