[SERVER-15414] Calling locate on reverse cursor with empty BSONObj should position it at first entry Created: 26/Sep/14  Updated: 02/Aug/18  Resolved: 20/Apr/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.7.6
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-17635 Improve SortedDataInterface::Cursor API Closed
Participants:

 Description   

Currently a reverse cursor is positioned at EOF if SortedDataInterface::Cursor::locate is called with BSONObj(), instead it should position the cursor at the largest entry in the index.



 Comments   
Comment by Mathias Stearn [ 20/Apr/15 ]

No longer an issues after API changes from SERVER-17635.

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