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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.18
    • Affects Version/s: 3.6.15
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24, Execution Team 2020-03-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Louis Williams
              Reporter:
              Louis Williams
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: