Reconcile index table metadata during startup if there is a mismatch caused by collMod

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0, 6.0.20
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-08-08, Execution Team 2022-08-22
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The wiredtiger call alter() is not transactional, which means that there could be a short window of inconsistency as the changes to the index table file could be visible before the index catalog entry update commits. If this inconsistent state is checkpointed or used as the snapshot for fcbis, we need to reconcile the index table metadata using the catalog entry state during startup, as the call to alter() will always precede the catalog change. We can write an extra field to the index table metadata to differentiate from actual data corruptions on the table.

              Assignee:
              Yuhong Zhang
              Reporter:
              Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: