diff options
author | Benety Goh <benety@mongodb.com> | 2018-05-08 11:35:16 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-05-08 11:35:16 -0400 |
commit | 9daeb0d594590eacc4850c4432da4827fc58698a (patch) | |
tree | 7e74bf73ceaf44e3baaf81f937d01a63d6c0eedc /src/mongo/db/repl | |
parent | d66041a40af0d7511d3a693a662efebe5529bea5 (diff) | |
download | mongo-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.cpp | 1 |
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); } |