Handle metadata errors in WiredTigerUtil::setTableLogging

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.1, 8.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.1, v8.0, v7.0, v6.0
    • Storage Execution 2025-04-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently WiredTigerUtil::setTableLogging assumes that retrieving the table's metadata from WiredTiger will succeed, and in non-debug builds interprets garbage memory as a std::string if it fails. The metadata being missing can only happen due to a bug happening earlier, but we still do not want to perform an bad memory read when that happens.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: