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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: