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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.15
    • Fix Version/s: 3.6.18
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2020-02-24, Execution Team 2020-03-09
    • Case:

      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

              Assignee:
              louis.williams Louis Williams
              Reporter:
              louis.williams Louis Williams
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: