[SERVER-41089] Outdated help string for mongos isMaster command Created: 10/May/19 Updated: 29/Oct/23 Resolved: 22/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
In cluster_is_master_cmd.cpp, the help string for mongos's isMaster command is "test if this is master half of a replica pair", which was never correct for mongos. |
| Comments |
| Comment by Githook User [ 22/Feb/20 ] | ||
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: | ||
| Comment by A. Jesse Jiryu Davis [ 21/Feb/20 ] | ||
|
It appears in obscure cases:
Same for db.listCommands(). | ||
| Comment by Sheeri Cabral (Inactive) [ 20/Feb/20 ] | ||
|
Easy fix but likely users never see this anyway, so it's up to you if you want to fix or just close wontfix. | ||
| Comment by Sheeri Cabral (Inactive) [ 20/Feb/20 ] | ||
|
help text should read "returns true if this is a mongos". |