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

Add db.hello() shell helper

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.4, v4.2, v4.0, v3.6
    • Repl 2020-08-24, Repl 2020-09-07

    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

              ali.mir@mongodb.com Ali Mir
              pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: