[SERVER-35579] Improve user experience for db.enableFreeMonitoring() when endpoint is down Created: 13/Jun/18  Updated: 29/Oct/23  Resolved: 19/Jun/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0-rc6, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-35618 db.enableFreeMonitoring returns null ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Platforms 2018-07-02
Participants:

 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



 Comments   
Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-35579 Improve user experience for db.enableFreeMonitoring() when endpoint is down

(cherry picked from commit 2fedb546eab17b0e6e6329f72428e5c979b3e624)
Branch: v4.0
https://github.com/mongodb/mongo/commit/770e0ab727a053a69873fecc55844ff5b7e6d5db

Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}

Message: SERVER-35579 Improve user experience for db.enableFreeMonitoring() when endpoint is down
Branch: master
https://github.com/mongodb/mongo/commit/2fedb546eab17b0e6e6329f72428e5c979b3e624

Generated at Thu Feb 08 04:40:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.