[SERVER-2980] Invalid coordinates in spherical queries Created: 21/Apr/11  Updated: 12/Jul/16  Resolved: 06/May/11

Status: Closed
Project: Core Server
Component/s: Geo
Affects Version/s: 1.9.0
Fix Version/s: 1.9.1

Type: Improvement Priority: Minor - P4
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

It is possible to add invalid long/lat coordinates (outside the bounds of the valid spherical-earth transform) into a 2d-indexed collection which cause severe slowdowns of spherical queries without any indication that anything is wrong. This should probably be detected and an exception thrown.



 Comments   
Comment by auto [ 06/May/11 ]

Author:

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

Message: check spherical earth query bounds SERVER-2980
Branch: master
https://github.com/mongodb/mongo/commit/aa13edaae8449d76d16d3931428c6bd922cbb81f

Generated at Thu Feb 08 03:01:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.