[SERVER-10047] 2dsphere $near does not yield Created: 27/Jun/13 Updated: 11/Jul/16 Resolved: 03/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.4.0 |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | hari.khalsa@10gen.com |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Need to add yielding. Can't really call yieldSometimes() because that requires a ClientCursor. Can probably call ClientCursor::staticYield directly from the s2 cursors, if we do our own prepareToYield etc. |
| Comments |
| Comment by hari.khalsa@10gen.com [ 04/Feb/14 ] |
|
Near queries with a 2d index do not yield. Near queries with a 2dsphere index will yield as of 2.5.5. The geoNear in .find() would yield in 2.5.5 but the geoNear command would not. This is now fixed in the forthcoming 2.6.0rc0 |
| Comment by Githook User [ 04/Feb/14 ] |
|
Author: {u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}Message: |