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

Alias isMaster in mongotmock and attach appropriate response field

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.8.0, 4.4.2
    • None
    • Replication
    • None
    • Fully Compatible
    • v4.4
    • Repl 2020-09-21

    Description

      We will apply the same aliasing functionality used for the mongod and mongos isMaster commands in SERVER-49986 to MongotMockIsMaster in the enterprise repository. They implement isMaster for mongotmock.

      mongotmock is just a test mock used to test queries talking to mongot (i.e. Atlas Search) and is not used externally.

      Similarly to the mongod and mongos isMaster commands, we will decide to return an “isWritablePrimary” response field instead of an “ismaster” response field if we’re running the “hello” command.

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: