[SERVER-49985] Convert mongod isMaster command to hello and add aliases Created: 29/Jul/20 Updated: 05/Aug/20 Resolved: 05/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Pavithra Vetriselvan |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0, v3.6
|
||||||||||||
| Sprint: | Repl 2020-08-10 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Convert the command “isMaster” to “hello.” This will involve changing the CmdIsMaster class in replication_info. Since we need to preserve backwards compatibility, we will alias the “hello” command to both “isMaster” and “ismaster” using existing alias functionality in the Command class. |