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

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

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

      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@mongodb.com Max Hirschhorn
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: