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

Improve user experience for db.enableFreeMonitoring() when endpoint is down

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc6, 4.1.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Platforms 2018-07-02

    Description

      Currently, when the endpoint is unavailable, Free Monitoring will continue to retry in the backound. The retries are useful when free monitoring is enabled via the command-line or when mongod is restarted with free monitoring already enabled. When it is initiated via the shell, it is confusing to return "null" to the user, and we may want to consider aborting the registration instead of retrying.

      > db.enableFreeMonitoring()
      Successfully initiated free monitoring. The registration is proceeding in the background. 
      Run db.getFreeMonitoringStatus() at any time to check on the progress.
      null
      

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: