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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.0.15, 3.2.18, 3.4.10, 3.6.0
    • 3.4.15, 3.6.4, 3.7.2
    • Storage
    • Fully Compatible
    • ALL
    • v3.6, v3.4
    • Storage 2018-01-29
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: