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

Add db.hello() shell helper

    XMLWordPrintable

    Details

      Description

      We cannot alias db.isMaster() to db.hello() because db.hello() should send a “hello” command to the server. This means the client will receive different command responses than they received with db.isMaster().

      Replace all occurrences of the old helper with the new helper except in jstests/multiversion. These passthrough tests can run against a 3.2 and 3.4 binary.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ali.mir Ali Mir
              Reporter:
              pavithra.vetriselvan Pavithra Vetriselvan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: