diff options
Diffstat (limited to 'src/mongo/db/transaction_participant.cpp')
-rw-r--r-- | src/mongo/db/transaction_participant.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_participant.cpp b/src/mongo/db/transaction_participant.cpp index f84c4c6fe2d..14a8a7a3add 100644 --- a/src/mongo/db/transaction_participant.cpp +++ b/src/mongo/db/transaction_participant.cpp @@ -555,9 +555,8 @@ TransactionParticipant::getOldestActiveTimestamp(Timestamp stableTimestamp) { Lock::DBLock dbLock(opCtx.get(), nss.db(), MODE_IS, deadline); Lock::CollectionLock collLock(opCtx.get(), nss, MODE_IS, deadline); - const TenantDatabaseName tenantDbName(boost::none, nss.db()); auto databaseHolder = DatabaseHolder::get(opCtx.get()); - auto db = databaseHolder->getDb(opCtx.get(), tenantDbName); + auto db = databaseHolder->getDb(opCtx.get(), nss.dbName()); if (!db) { // There is no config database, so there cannot be any active transactions. return boost::none; |