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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: