summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parallel_collection_scan.cpp
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-03-07 15:10:10 -0500
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-03-09 18:06:06 -0500
commit4ef0fe789ef349307c4cffd6548dc8657059cca5 (patch)
treed13f1dd19a97ca4e9a1e082f566bb0d59cee3147 /src/mongo/db/commands/parallel_collection_scan.cpp
parented1e2b4d2a4987e3744484f9482fdc7a0e119e94 (diff)
downloadmongo-4ef0fe789ef349307c4cffd6548dc8657059cca5.tar.gz
SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnit
Diffstat (limited to 'src/mongo/db/commands/parallel_collection_scan.cpp')
-rw-r--r--src/mongo/db/commands/parallel_collection_scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/parallel_collection_scan.cpp b/src/mongo/db/commands/parallel_collection_scan.cpp
index 05b8dbff677..c040e9e0510 100644
--- a/src/mongo/db/commands/parallel_collection_scan.cpp
+++ b/src/mongo/db/commands/parallel_collection_scan.cpp
@@ -155,7 +155,7 @@ public:
{std::move(exec),
nss,
AuthorizationSession::get(opCtx->getClient())->getAuthenticatedUserNames(),
- opCtx->recoveryUnit()->isReadingFromMajorityCommittedSnapshot(),
+ opCtx->recoveryUnit()->getReadConcernLevel(),
cmdObj});
pinnedCursor.getCursor()->setLeftoverMaxTimeMicros(opCtx->getRemainingMaxTimeMicros());