Closed GoogleCodeExporter closed 9 years ago
This is a server issue. If you run concurrent map/reduce operations with the
same destination only the last one will be valid when they have all finished.
In the mean time what data you get back is undefined and dependent on the
timing of the concurrent operations.
Please file a mongodb jira server issue: http://jira.mongodb.org/
Original comment by scotthernandez
on 17 Mar 2012 at 1:38
Hmm... ok. I guess the server-side is by design? Inline is not part of Morphia,
yet, right? But I could instead do:
MapReduceCommand cmd = new MapReduceCommand(dbColl, map, reduce, null,
MapReduceCommand.OutputType.INLINE, qi.getQueryObject());
myself and avoid the problem that way?
Original comment by nic%tran...@gtempaccount.com
on 17 Mar 2012 at 5:43
Yes, inline will work as long as you have less than 16MB of data returned.
Original comment by scotthernandez
on 17 Mar 2012 at 5:55
Original issue reported on code.google.com by
nic%tran...@gtempaccount.com
on 17 Mar 2012 at 11:09