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

Empty database directory will not be removed if collection ident is not dropped before all index idents

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-12-28, Execution Team 2021-01-11
    • 13

      When removing an empty database directory using directoryperdb, the collection ident drop is what runs the callback to remove the directory. This is based on the fact that we drop the collection ident after the index idents. However, since the WT ident drops can be queued and may not actually be dropped in the same order, we cannot rely on this assumption. We should make sure that the callback runs on the final ident drop, regardless of whether it's a collection or an index ident.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: