diff options
Diffstat (limited to 'src/mongo/db/repl/do_txn.cpp')
-rw-r--r-- | src/mongo/db/repl/do_txn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/do_txn.cpp b/src/mongo/db/repl/do_txn.cpp index a533c25bcba..3fb6f97f4e4 100644 --- a/src/mongo/db/repl/do_txn.cpp +++ b/src/mongo/db/repl/do_txn.cpp @@ -140,7 +140,7 @@ Status _doTxn(OperationContext* opCtx, str::stream() << "cannot find collection uuid " << uuidStatus.getValue(), !nss.isEmpty()); } - Lock::CollectionLock collLock(opCtx, nss.ns(), MODE_IX); + Lock::CollectionLock collLock(opCtx, nss, MODE_IX); auto collection = db->getCollection(opCtx, nss); // When processing an update on a non-existent collection, applyOperation_inlock() |