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

Consider all error codes on WT_CURSOR advancement before examining contents.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Storage 2017-10-23
    • 0

      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

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: