summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/oplog_cap_maintainer_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/oplog_cap_maintainer_thread.cpp')
-rw-r--r--src/mongo/db/storage/oplog_cap_maintainer_thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/storage/oplog_cap_maintainer_thread.cpp b/src/mongo/db/storage/oplog_cap_maintainer_thread.cpp
index 0627f0e41ce..582df818b5a 100644
--- a/src/mongo/db/storage/oplog_cap_maintainer_thread.cpp
+++ b/src/mongo/db/storage/oplog_cap_maintainer_thread.cpp
@@ -66,8 +66,7 @@ bool OplogCapMaintainerThread::_deleteExcessDocuments() {
// Maintaining the Oplog cap is crucial to the stability of the server so that we don't let the
// oplog grow unbounded. We mark the operation as having immediate priority to skip ticket
// acquisition and flow control.
- SetTicketAquisitionPriorityForLock priority(opCtx.get(),
- AdmissionContext::Priority::kImmediate);
+ SetAdmissionPriorityForLock priority(opCtx.get(), AdmissionContext::Priority::kImmediate);
try {
// A Global IX lock should be good enough to protect the oplog truncation from