message: Need to take catalog lock here
diff: @@ -211,11 +211,11 @@ void CatalogSet::CleanupEntry(CatalogEntry *catalog_entry) {
  // destroy the backed up entry: it is no longer required
  D_ASSERT(catalog_entry->parent);
  if (catalog_entry->parent->type != CatalogType::UPDATED_ENTRY) {
  + lock_guard<mutex> lock(catalog_lock);
  if (!catalog_entry->deleted) {
  // delete the entry from the dependency manager, if it is not deleted yet
  catalog_entry->catalog->dependency_manager->EraseObject(catalog_entry);
  }
  - lock_guard<mutex> lock(catalog_lock);
  catalog_entry->parent->child = move(catalog_entry->child);
  }
  }
  