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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.13
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              siyuan.zhou Siyuan Zhou
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: