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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc6, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Platforms 2018-07-02

      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
      

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

              Created:
              Updated:
              Resolved: