Make the isMaster command a derived class of hello

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.8.0, 4.4.2, 4.2.11, 4.0.21, 3.6.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0, v3.6
    • Repl 2020-10-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Upon investigation of SERVER-50419, we've discovered that the current implementation does not allow us track commands.hello and commands.isMaster as separate metrics. As a result, instead of aliasing hello to isMaster, we should split the two into separate commands and make isMaster a derived class of hello to allow the commands to share functionality.

      In this ticket, we should revert the C++ changes from SERVER-50640. With hello and isMaster being separate commands, the original implementation of listCommands will return both isMaster and hello.

            Assignee:
            Ali Mir
            Reporter:
            Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: