diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-03-07 15:10:10 -0500 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-03-09 18:06:06 -0500 |
commit | 4ef0fe789ef349307c4cffd6548dc8657059cca5 (patch) | |
tree | d13f1dd19a97ca4e9a1e082f566bb0d59cee3147 /src/mongo/db/commands/parallel_collection_scan.cpp | |
parent | ed1e2b4d2a4987e3744484f9482fdc7a0e119e94 (diff) | |
download | mongo-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.cpp | 2 |
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()); |