diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2021-12-28 22:41:48 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-04 19:29:01 +0000 |
commit | af1a9dc12adcfa83cc19571cb3faba26eeddac92 (patch) | |
tree | a0d42319d211cabeea6f0b94db975a5887022ac4 /src/mongo/db/query/query_request.cpp | |
parent | 223c12d517f37a007e2520aeed2bfea7809d1e45 (diff) | |
download | mongo-r4.0.28.tar.gz |
SERVER-45953 Exempt internal replication oplog readers from acquiring read tickets in order to avoid deadlocksr4.0.28-rc0r4.0.28
(cherry picked from commit d1cb83d9199c1a25158d74e47b3aa88b5c33fe8b)
Diffstat (limited to 'src/mongo/db/query/query_request.cpp')
-rw-r--r-- | src/mongo/db/query/query_request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_request.cpp b/src/mongo/db/query/query_request.cpp index 0dd44bc7f3f..a2e098f11df 100644 --- a/src/mongo/db/query/query_request.cpp +++ b/src/mongo/db/query/query_request.cpp @@ -401,7 +401,7 @@ StatusWith<unique_ptr<QueryRequest>> QueryRequest::parseFromFindCommand(unique_p return std::move(qr); } -StatusWith<unique_ptr<QueryRequest>> QueryRequest::makeFromFindCommand(NamespaceString nss, +StatusWith<unique_ptr<QueryRequest>> QueryRequest::makeFromFindCommand(const NamespaceString& nss, const BSONObj& cmdObj, bool isExplain) { BSONElement first = cmdObj.firstElement(); |