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

Invariant that the first table checked in WiredTigerUtil::setTableLogging() is the _mdb_catalog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Storage
    • Fully Compatible
    • Execution Team 2021-04-19

    Description

      The optimization done in SERVER-43664 assumes that the first table checked in WiredTigerUtil::setTableLogging is the _mdb_catalog. However, there are no assertions to verify this claim. We should add such an assertion to prevent unexpected behaviour with the optimization if this were to change in the future. If, say, for some reason, the first table checked is part of the local database, the behaviour would be incorrect.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: