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

Unify the order of cleanup operations in dropCollection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-03-25

      Since we have the implementations of two types of replicated two-phase drops and unreplicated drop, dropCollection has different orders of cleanup operations depending on when we call UUIDCatalog::onDropCollection (by calling OpObserver::onDropCollection with CollectionDropType::kOnePhase ) and when we call _finishDropCollection.

      This ticket is to unify all three implementations to always call _finishDropCollection before UUIDCatalog::onDropCollection.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: