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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc1
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage 2017-10-23
    • Linked BF Score:
      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

            Assignee:
            daniel.gottlieb Daniel Gottlieb
            Reporter:
            daniel.gottlieb Daniel Gottlieb
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: