diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_manual_cleanup.cpp')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_manual_cleanup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_manual_cleanup.cpp b/src/mongo/db/s/resharding/resharding_manual_cleanup.cpp index fad84d1a4e8..8e0caf72733 100644 --- a/src/mongo/db/s/resharding/resharding_manual_cleanup.cpp +++ b/src/mongo/db/s/resharding/resharding_manual_cleanup.cpp @@ -239,7 +239,7 @@ bool ReshardingCoordinatorCleaner::_checkExistsTempReshardingCollection( void ReshardingCoordinatorCleaner::_dropTemporaryReshardingCollection( OperationContext* opCtx, const NamespaceString& tempReshardingNss) { ShardsvrDropCollection dropCollectionCommand(tempReshardingNss); - dropCollectionCommand.setDbName(tempReshardingNss.db()); + dropCollectionCommand.setDbName(DatabaseName{tempReshardingNss.db()}); const auto dbInfo = uassertStatusOK( Grid::get(opCtx)->catalogCache()->getDatabase(opCtx, tempReshardingNss.db())); |