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

Consider all error codes on WT_CURSOR advancement before examining contents.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc1
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage 2017-10-23
    • 0

    Description

      One example where get_key (within hasWrongPrefix) is called before checking errors codes that may not be WT_NOTFOUND:

      https://github.com/mongodb/mongo/blob/ba0ee77c61c39b077d0975b7487099c5985c7b18/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp#L1716-L1720

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb
            daniel.gottlieb@mongodb.com Daniel Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: