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

Maintain collections and indexes in pending-drop state in the CollectionCatalog

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-08-08
    • 135

    Description

      When instantiating a Collection/IndexCatalog from a durable catalog entry it may contain a collection or index in drop-pending state. We need to be able to recover the instance.

      The CollectionCatalog should contain a mapping from Ident to weak_ptr of these instances.
      It needs to be a weak_ptr to not affect the lifetime and delay the actual drop from the reaper.

      DDL operations putting collections/indexes in drop-pending should insert into this mapping and the cleanup should happen from the ident reaper when the drop has been performed.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: