"use local" shell helper failed with "db.getSession(...).getSiblingDB is not a function"

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-09-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      use local returns the following error.

      close_cursor_on_adding_new_shards-configRS:PRIMARY> use local
      2017-08-30T16:56:12.109-0400 E QUERY    [thread1] TypeError: db.getSession(...).getSiblingDB is not a function :
      shellHelper.use@src/mongo/shell/utils.js:681:10
      shellHelper@src/mongo/shell/utils.js:668:15
      @(shellhelp2):1:1
      

      Autocomplete also failed.

            Assignee:
            Max Hirschhorn
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: