[SERVER-1742] Assertion failure on mapreduce with geo query Created: 06/Sep/10  Updated: 12/Jul/16  Resolved: 01/Apr/11

Status: Closed
Project: Core Server
Component/s: Geo
Affects Version/s: 1.6.2
Fix Version/s: 1.8.2, 1.9.0

Type: Bug Priority: Major - P3
Reporter: Joris Bontje Assignee: Greg Studer
Resolution: Done Votes: 12
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File geo_group.js     File geo_mapreduce.js    
Issue Links:
Related
Operating System: Linux
Participants:

 Description   

Doing a mapreduce with a geo query gives an assertion failure.
uncaught exception: map reduce failed:

{ "assertion" : "manual matcher config not allowed", "assertionCode" : 13285, "errmsg" : "db assertion failure", "ok" : 0 }

Test script attached.



 Comments   
Comment by auto [ 07/Sep/11 ]

Author:

{u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: Add test for using geo queries within a group command. SERVER-1742
Branch: master
https://github.com/mongodb/mongo/commit/fd0a54bb7361d72f6db7e374c38da60333a55d18

Comment by Greg Studer [ 20/Apr/11 ]

It'll be in 1.8.2.

Comment by auto [ 20/Apr/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: only add covered matcher manually if a matcher does not exist SERVER-1742
Branch: v1.8
https://github.com/mongodb/mongo/commit/d29d02b69473c568cecc12360102ede3a0bc41f5

Comment by Taazza [ 19/Apr/11 ]

Is there any chance that this fix will be considered for inclusion in 1.8.2?

Comment by auto [ 01/Apr/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: test for SERVER-1742
Branch: master
https://github.com/mongodb/mongo/commit/8750ddd3bdf6125271ee1289d2d2c79b97b987e7

Comment by auto [ 01/Apr/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: only add covered matcher manually if a matcher does not exist SERVER-1742
Branch: master
https://github.com/mongodb/mongo/commit/215f3b479eeb5c18eb813ec89b356ab6bfc7a5c4

Comment by Greg Studer [ 31/Mar/11 ]

Yep, has to do with the way we return cursors for group/mapreduce and I think maybe one other? command. Fix in review now.

Comment by Gaetan Voyer-Perrault [ 30/Mar/11 ]

This issue also happens with the "group" command.

"distinct", "aggregate" (make this searchable)

Comment by Andrea Fontana [ 22/Feb/11 ]

Same problem for me. C++ driver.

Comment by Nerses [ 26/Dec/10 ]

Same problem for me. Using java driver and have geo query in query for DBCollection.mapreduce() method

Generated at Thu Feb 08 02:57:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.