[SERVER-17172] Check _lastLoc for sentinel in WTRecordStore::Iterator::restoreState for capped collections Created: 04/Feb/15 Updated: 18/Sep/15 Resolved: 04/Feb/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
_lastLoc needs to be initialized, or else yielding before the first call to getNext() won't work properly. |
| Comments |
| Comment by Githook User [ 04/Feb/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: (cherry picked from commit 7d3d0e5c6ae4f6054d63a208f74e58fe26b65cf9) |
| Comment by Githook User [ 04/Feb/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |