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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • Execution Team 2021-04-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: