Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed

XMLWordPrintableJSON

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

      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.

              Assignee:
              Xiangyu Yao (Inactive)
              Reporter:
              Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: