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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.15, 3.6.4, 3.7.2
    • Affects Version/s: 3.0.15, 3.2.18, 3.4.10, 3.6.0
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • v3.6, v3.4
    • Storage 2018-01-29
    • 0

      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.

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

              Created:
              Updated:
              Resolved: