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

Should have separate RecordCursor and SeekableRecordCursor

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.8
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • QuInt 8 08/28/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      A number of RecordCursor method do not apply for all cursors (for example seekExact does not apply for cursors obtained through getCursorForRepair). Rather than documenting that it is not allowed to call certain methods, it would be better to enforce this by using separate types.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: