[SERVER-6119] DocumentSourceCursor does not yield before loading first cursor document Created: 18/Jun/12 Updated: 11/Jul/16 Resolved: 12/Jul/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0-rc0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Aaron Staple | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
DocumentSourceCursor may yield using
But it only does this after advancing, and in particular not before the first call to pCursor->current(). Diagnosed behavior: aggregation does not yield the read lock if its fist candidate matching document is not in memory. |
| Comments |
| Comment by auto [ 12/Jul/12 ] |
|
Author: {u'date': u'2012-07-12T10:45:17-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}Message: |