-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: 2.1.0
-
Component/s: None
-
None
-
Major Change
After upgrading to mongo driver 2.1.0.rc1 we've noticed some errors on map reduce operations:
Mon Sep 7 03:30:41.903 [conn1093695] command productclicks.$cmd command: { mapreduce: "daily_1885", map: "function () { emit(this.pid, this.c);}", reduce: "function (key, values) { var total = 0; for (var i = 0; i < values.length; i++) { total += values[i]; } ...", query: { d: { $gte: "15-08-22", $lte: "15-09-06" } }, out: { replace: "last15_1885" } } ntoreturn:1 keyUpdates:0 numYields: 363 locks(micros) W:216912 r:76307 w:31556 reslen:135 322ms Mon Sep 7 03:30:41.905 [conn1093695] { $err: "auth error", code: 14833 }
We're running on Mongo 2.4.0. It seems like the driver is incompatible with 2.4.0 looking at this: https://github.com/mongodb/mongo/blob/186f91d83d158adb06e024e7d3a1f4f5673ef5c9/src/mongo/db/ops/query.cpp#L117