Calling locate on reverse cursor with empty BSONObj should position it at first entry

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.7.6
    • Component/s: Storage
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Max Hirschhorn
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: