summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-05-08 11:35:16 -0400
committerBenety Goh <benety@mongodb.com>2018-05-08 11:35:16 -0400
commit9daeb0d594590eacc4850c4432da4827fc58698a (patch)
tree7e74bf73ceaf44e3baaf81f937d01a63d6c0eedc /src/mongo/db/repl
parentd66041a40af0d7511d3a693a662efebe5529bea5 (diff)
downloadmongo-9daeb0d594590eacc4850c4432da4827fc58698a.tar.gz
SERVER-32334 relax constraints on OplogApplier options to support recovery
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r--src/mongo/db/repl/oplog_applier.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog_applier.cpp b/src/mongo/db/repl/oplog_applier.cpp
index 1f573cb72c2..18074d088e5 100644
--- a/src/mongo/db/repl/oplog_applier.cpp
+++ b/src/mongo/db/repl/oplog_applier.cpp
@@ -57,7 +57,6 @@ OplogApplier::OplogApplier(executor::TaskExecutor* executor,
_options(options),
_syncTail(std::make_unique<SyncTail>(
_observer, _consistencyMarkers, _storageInterface, multiSyncApply, writerPool, options)) {
- invariant(!options.allowNamespaceNotFoundErrorsOnCrudOps);
invariant(!options.relaxUniqueIndexConstraints);
}