Two phase dropDatabase sets a drop pending flag flag so other operations can cooperatively serialize execution.
One such consumer is the test command, restartCatalog. However the list of databases restartCatalog receives only contain databases with at least one collection. That list is not consistent with the databases that DBHolder knows about.
This can cause restartCatalog to delete database objects; consequently losing their drop pending state.
- related to
-
SERVER-39515 Remove the KVDatabaseCatalogEntry, KVDatabaseCatalogEntryBase and DatabaseCatalogEntry classes
- Closed