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

Alias isMaster in mongotmock and attach appropriate response field

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0, 4.4.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v4.4
    • Repl 2020-09-21

      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.

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

              Created:
              Updated:
              Resolved: