[SERVER-36140] Add featureCompatibilityVersion status to serverStatus response Created: 16/Jul/18 Updated: 06/Sep/23 Resolved: 06/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell, Upgrade/Downgrade |
| Affects Version/s: | 4.0.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Tim Hawkins | Assignee: | [DO NOT USE] Backlog - Sharding EMEA |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | shardingemea-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Description |
|
It would be useful to add the current value of featureCompatibilityVersion to the serverStatus response, not only does it eliminate the need to remember the command to display the value, (which is a mouthful), but it can be used by tools when displaying server properties. |
| Comments |
| Comment by Sean Zimmerman [ 06/Sep/23 ] | ||||||||||||||||||
|
Good find, yes | ||||||||||||||||||
| Comment by Judah Schvimer [ 06/Sep/23 ] | ||||||||||||||||||
|
sean.zimmerman@mongodb.com, is this a duplicate of | ||||||||||||||||||
| Comment by Asya Kamsky [ 07/Sep/18 ] | ||||||||||||||||||
|
The shell `db.version()` also could use this info but it uses `"buildinfo"` command which also should include this I suppose. | ||||||||||||||||||
| Comment by Ramon Fernandez Marina [ 16/Jul/18 ] | ||||||||||||||||||
|
Thanks for your report thawkins. Please note that you can configure your shell to create a shortcut to display this information. For example, if you add the following to your ~/.mongorc.js:
then you can do:
Regards, |