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

Unify the order of cleanup operations in dropCollection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-03-25

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: