summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_repair_observer.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2019-08-13 12:48:25 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2019-08-23 14:30:06 -0400
commit266e079792be38e67442ef5fb2dbd557a6ca694d (patch)
tree9d47e3010299be13a7a37cc33fbaec7356c53b89 /src/mongo/db/storage/storage_repair_observer.cpp
parentf98b80b33347b52cc4cd7b11880ac3057a32359f (diff)
downloadmongo-266e079792be38e67442ef5fb2dbd557a6ca694d.tar.gz
SERVER-42221 Add concurrency control to checkpoint requests and expose it to the validation cmd code layer
Diffstat (limited to 'src/mongo/db/storage/storage_repair_observer.cpp')
-rw-r--r--src/mongo/db/storage/storage_repair_observer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/storage_repair_observer.cpp b/src/mongo/db/storage/storage_repair_observer.cpp
index 3bd7c0de042..23320197d5d 100644
--- a/src/mongo/db/storage/storage_repair_observer.cpp
+++ b/src/mongo/db/storage/storage_repair_observer.cpp
@@ -148,7 +148,7 @@ void StorageRepairObserver::_invalidateReplConfigIfNeeded(OperationContext* opCt
configBuilder.append(repl::ReplSetConfig::kRepairedFieldName, true);
Helpers::putSingleton(opCtx, kConfigNss.ns().c_str(), configBuilder.obj());
- opCtx->recoveryUnit()->waitUntilDurable();
+ opCtx->recoveryUnit()->waitUntilDurable(opCtx);
}
} // namespace mongo