diff options
| author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2021-03-24 09:47:09 -0400 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-24 18:41:04 +0000 |
| commit | 7c850a9595c4cc1a719c93f9328920645f9e5ff8 (patch) | |
| tree | bc599867bd2270d2da2f34ca51c9929e23d968dd /src/mongo/db/repl/oplog_applier_impl.cpp | |
| parent | d18d6234db7e647b0615df8de01a027df151a97d (diff) | |
| download | mongo-7c850a9595c4cc1a719c93f9328920645f9e5ff8.tar.gz | |
SERVER-51334: Only allow the temporary resharding collection on FCV 4.7+
Diffstat (limited to 'src/mongo/db/repl/oplog_applier_impl.cpp')
| -rw-r--r-- | src/mongo/db/repl/oplog_applier_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_applier_impl.cpp b/src/mongo/db/repl/oplog_applier_impl.cpp index 2b443cffc81..5e7e7d43e78 100644 --- a/src/mongo/db/repl/oplog_applier_impl.cpp +++ b/src/mongo/db/repl/oplog_applier_impl.cpp @@ -522,6 +522,7 @@ StatusWith<OpTime> OplogApplierImpl::_applyOplogBatch(OperationContext* opCtx, // This code path is only executed on secondaries and initial syncing nodes, // so it is safe to exclude any writes from Flow Control. opCtx->setShouldParticipateInFlowControl(false); + opCtx->setEnforceConstraints(false); status = opCtx->runWithoutInterruptionExceptAtGlobalShutdown([&] { return applyOplogBatchPerWorker(opCtx.get(), &writer, &multikeyVector); |
