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

JavaScript execution failed after db.getSiblingDB()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.4
    • Component/s: Shell
    • Environment:
      Wed Jun 05 10:57:32.561 [initandlisten] db version v2.4.4
      Wed Jun 05 10:57:32.561 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
    • ALL
    • Hide

      use test
      db.test.insert(

      {t:1}

      )
      db.test.find()
      db.getSiblingDB()

      Show
      use test db.test.insert( {t:1} ) db.test.find() db.getSiblingDB()

      We create a new test instance with mongo 2.4.4 and after we execute "db.getSiblingDB()", we see the following error:

      Wed Jun 05 11:06:53.529 JavaScript execution failed: Error: db initializer called with undefined argument at src/mongo/shell/mongo.js:L40

        1. mongod244.PNG
          20 kB
          david.verdejo

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.verdejo@logitravel.com David Verdejo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: