diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2023-02-08 20:34:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-09 05:52:35 +0000 |
commit | c3109b89d9c315c5f3005ed81256f5e420ad228d (patch) | |
tree | b259ff518da3373455e317a89a2b5c60b6f3cbbc /src/mongo/db/repl/oplog.h | |
parent | 749bf3ae22c47abfbd41ffff698b18d43c88d930 (diff) | |
download | mongo-c3109b89d9c315c5f3005ed81256f5e420ad228d.tar.gz |
SERVER-73777 Fix so AutoGetOplog returns a yieldable pointer
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r-- | src/mongo/db/repl/oplog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h index abec01de8e1..e8c7d1bdac0 100644 --- a/src/mongo/db/repl/oplog.h +++ b/src/mongo/db/repl/oplog.h @@ -157,7 +157,7 @@ void acquireOplogCollectionForLogging(OperationContext* opCtx); * Called by catalog::openCatalog() to re-establish the oplog collection pointer while holding onto * the global lock in exclusive mode. */ -void establishOplogCollectionForLogging(OperationContext* opCtx, const CollectionPtr& oplog); +void establishOplogCollectionForLogging(OperationContext* opCtx, const Collection* oplog); using IncrementOpsAppliedStatsFn = std::function<void()>; |