Add db.hello() shell helper

XMLWordPrintableJSON

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

      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.

            Assignee:
            Ali Mir
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: