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

Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Storage NYC 2019-02-11
    • 0

      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.

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