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

2.0/2.1 sharded mapReduce compatibility

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.2
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      Seems like there's an incompatibility between 2.0 mongod/2.1 mongos on sharded mapreduce.

      To repro, replace 2.1 mongod with 2.0.4 mongod and run features2.js, results in :

      ri Apr  6 15:59:00 exec error: src/mongo/shell/collection.js:661 map reduce failed:{
      	"ok" : 0,
      	"errmsg" : "MR post processing failed: { assertion: \"invalid parameter: expected an object ()\", assertionCode: 10065, errmsg: \"db assertion failure\", ok: 0.0 }"
      }
      throw "map reduce failed:" + tojson(raw);
      

      Attached sample output (there was some additional spurious logging in the mongos in this output, but reproducible in multiple other tests).

            Assignee:
            antoine Antoine Girbal
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: