Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15414

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

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

      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@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: