mongos JS Error in `sh.status()`

XMLWordPrintableJSON

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

      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
              Reporter:
              Taha Jahangir
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: