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"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.13
    • Shell
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-09-11

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              siyuan.zhou@mongodb.com Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: