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

WTKVEngine::getAllIdents mishandles cursor->next return code.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.15, 3.2.18, 3.4.10, 3.6.0
    • Fix Version/s: 3.4.15, 3.6.4, 3.7.2
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6, v3.4
    • Sprint:
      Storage 2018-01-29
    • Linked BF Score:
      0

      Description

      A call to WT's getAllidents loops through a metadata cursor. The code assumes any non-zero return code is a successful cursor exhaustion, but there can be cases (e.g: presumably data corruption) where WiredTiger returns an error. At the very least, this error flags the current WT transaction into an error state which makes any later commit to fail for mysterious reasons.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xiangyu.yao Xiangyu Yao (Inactive)
              Reporter:
              daniel.gottlieb Daniel Gottlieb
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: