This issue was recently introduced in SERVER-73391. The problem is that this if-stmt should be executed when we are executing a pre 7.0 version of the dropDatabase coordinator and not when the coordinator is a 7.0 version or newer.
This special handling of the database metadata was introduced SERVER-73390 as a mitigation of some issues with the database metadata that should be addressed with the new implementation provided in SERVER-73391.
- is caused by
-
SERVER-73391 Use recoverable critical section for drop database
- Closed