summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_timestamp_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/storage_timestamp_test.cpp')
-rw-r--r--src/mongo/db/repl/storage_timestamp_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/storage_timestamp_test.cpp b/src/mongo/db/repl/storage_timestamp_test.cpp
index 76ee5586e2e..00da9d8e484 100644
--- a/src/mongo/db/repl/storage_timestamp_test.cpp
+++ b/src/mongo/db/repl/storage_timestamp_test.cpp
@@ -349,7 +349,7 @@ public:
}
void create(NamespaceString nss) const {
- ::mongo::writeConflictRetry(_opCtx, "deleteAll", nss.ns(), [&] {
+ ::mongo::writeConflictRetry(_opCtx, "deleteAll", nss, [&] {
_opCtx->recoveryUnit()->setTimestampReadSource(RecoveryUnit::ReadSource::kNoTimestamp);
_opCtx->recoveryUnit()->abandonSnapshot();
AutoGetCollection collRaii(_opCtx, nss, LockMode::MODE_X);