Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51106

Make the isMaster command a derived class of hello

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.8.0, 4.4.2, 4.2.11, 4.0.21, 3.6.21
    • None
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0, v3.6
    • Repl 2020-10-05

    Description

      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.

      Attachments

        Activity

          People

            ali.mir@mongodb.com Ali Mir
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: