[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:
Related
related to SERVER-17181 Correctly invalidate RocksDB cursor w... Closed
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: SERVER-17172 initialize _lastLoc from _loc on WiredTigerRecordStore::Iterator construction

(cherry picked from commit 7d3d0e5c6ae4f6054d63a208f74e58fe26b65cf9)
Branch: v3.0
https://github.com/mongodb/mongo/commit/245f53125f4eb18d881b4278fc7bd99c6cbca9d0

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-17172 initialize _lastLoc from _loc on WiredTigerRecordStore::Iterator construction
Branch: master
https://github.com/mongodb/mongo/commit/7d3d0e5c6ae4f6054d63a208f74e58fe26b65cf9

Generated at Thu Feb 08 03:43:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.