[SERVER-4800] mongos cursor handling with timeouts Created: 27/Jan/12 Updated: 11/Jul/16 Resolved: 07/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.7, 2.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| 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 |
|
... to avoid timeouts, we should pull from each cursor in turn. Special case - if the sort order is over the shard key - but in this case we'd have to detect chunk bounds anyway so probably only a small optimization if any. |
| Comments |
| Comment by Tad Marshall [ 27/Jun/12 ] |
|
Backported to 2.0.7. |
| Comment by auto [ 27/Jun/12 ] |
|
Author: {u'date': u'2012-06-27T12:36:11-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}Message: Signed-off-by: Tad Marshall <tad@10gen.com> |
| Comment by auto [ 22/May/12 ] |
|
Author: {u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by Greg Studer [ 23/Feb/12 ] |
|
Realized I had this patch lying around and never committed... http://codereview.10gen.com/7400003/ Pretty sure it tests okay, but will have to retry. Should fix the no-search case. As eliot sez, for search case we'll need a keepalive for the cursor - maybe a getMore with a keepalive flag or something. |