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

Alias isMaster in mongotmock and attach appropriate response field

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.0, 4.4.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      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

            Assignee:
            huayu.ouyang Huayu Ouyang
            Reporter:
            pavithra.vetriselvan Pavithra Vetriselvan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: