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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-08-08, Execution Team 2022-08-22
    • 18

    Description

      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.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: