[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: |
|
||||||||
| 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 |