-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:3.8.4-1-ARCH
mongodb-2.4.1
After mongo update to 2.4.x mapreduce with inline output will fail with error 'no collection name':
mapreduce(function()
{ emit('bank', (this.spec_chips || 0) + (this.spec_locked_chips || 0)); emit('cnt', NumberLong(1)); }, function(k, va) { var r = 0; va.forEach(function(v)
{ r += v; }); return r; }, { updated_at:
{ $gt: 1364155200 }, weeklong_member: true },
{ inline: 1 })
In mongo shell it's ok. With collection name instead of
{inline:1}is ok.
- is duplicated by
-
SERVER-9318 Mapreduce implementation call dropCollection for MRInline
- Closed