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

[3.6] WT error handler incorrectly prints "An unsupported journal format detected"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.15
    • 3.6.18
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24, Execution Team 2020-03-09

    Description

      The logic in the WT error handler in MongoDB is the inverse of what it should be.

      We evaluate if StringData::find() returns non-zero. Instead we should evaluate that it is not equal to std::string::npos, or -1.

      This can confusingly report "An unsupported journal format detected" for all unrelated WiredTiger errors, except for the error it intends on detecting.

      This was caused by a backport of SERVER-35271.

      Attachments

        Issue Links

          Activity

            People

              louis.williams@mongodb.com Louis Williams
              louis.williams@mongodb.com Louis Williams
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: