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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              gregory.wlodarek Gregory Wlodarek
              Reporter:
              gregory.wlodarek Gregory Wlodarek
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: