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

mongos JS Error in `sh.status()`

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.3
    • Component/s: JavaScript, Sharding, Shell
    • None
    • ALL

      In a sharded cluster with 4 replica sets (3 rs with 2 mongod + 1 arbiter, and one with only one mongod), `sh.status()` and `db.printShardingStatus()` fails with this error:

      # mongo
      MongoDB shell version: 2.4.3
      connecting to: test
      mongos> sh.status()
      Fri May 31 10:45:24.719 uncaught exception: group command failed: {
      	"errmsg" : "exception: reduce invoke failed: JS Error: TypeError: Object.extend is not a function nofile_b:0",
      	"code" : 9010,
      	"ok" : 0
      }
      

        1. commands-result.txt
          1 kB
        2. dump-config.tar.gz
          11 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            taha_jahangir Taha Jahangir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: