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

Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Storage
    • Storage NYC 2019-02-11
    • 0

    Description

      Some prerequisite knowledge is documented in SERVER-33159.

      Recover to a stable timestamp introduces a case, in crash recovery, where an `_mdb_catalog` collection document may exist without a corresponding WT table. SERVER-33159 describes how that can happen.

      SERVER-33159 is a short-term fix that accepts this state can exist. This ticket is to return the happens-before relationship between catalog entries and their on-disk WT tables, in the face of stable timestamp + logging changes for 4.0+ replica set members.

      This patch is for glue code to postpone performing the WT table drop until it is sure the collection drop has been persisted in a stable checkpoint.

      Attachments

        Issue Links

          Activity

            People

              xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
              daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: