[SERVER-9986] Refactor $geoNear searches into new query framework Created: 21/Jun/13 Updated: 24/Oct/19 Resolved: 14/Jul/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.4.4 |
| Fix Version/s: | 2.7.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Thomas Rueckstiess | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Refactor geospatial $geoNear/$nearSphere/geoNear command code to use the standard query framework and geometry covering changes from This refactor affects $geoNear in both 2D and 2DSphere indexes - no behavior change is intended. A side effect of this change is that progressive $geoNear sort is supported, and the full search does not have to be performed at once. Original Description: It appears that a long-running 2d-indexed geo query on a replica set with authentication will only yield when it finds matching documents. If the gap during which it does not find documents is long enough, it will become unresponsive, miss its heartbeats, and the secondaries assume it is down. Eventually they will cause an election and fail over the primary. During this time, the primary is fully aware of this and prints
|
| Comments |
| Comment by Githook User [ 09/Jul/14 ] |
|
Author: {u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: Adds progressive search functionality for $geoNear operations, |
| Comment by Daniel Pasette (Inactive) [ 03/Jul/13 ] |
|
To fix this in 2d indexes requires major surgery. |
| Comment by Daniel Pasette (Inactive) [ 21/Jun/13 ] |
|
The replset auth failures will be fixed by |