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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: