diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-04-20 14:19:24 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-04-20 14:19:24 -0400 |
commit | b3ea0082960d5043e0ad32305cb112c3f4a582c9 (patch) | |
tree | f8f48eb224a68da3109391485327367e2130b4ea | |
parent | b0a3504b94d7a940edffc679d62c96a8cfe07811 (diff) | |
download | mongo-b3ea0082960d5043e0ad32305cb112c3f4a582c9.tar.gz |
Revert "SERVER-34464 Do not relax document validation during replication recovery"
This reverts commit 1bf72bdde1a1ac86700fea6b929b74dfc84e0ee6.
-rw-r--r-- | src/mongo/db/repl/replication_recovery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_recovery.cpp b/src/mongo/db/repl/replication_recovery.cpp index 0762e54e368..b1122edab0c 100644 --- a/src/mongo/db/repl/replication_recovery.cpp +++ b/src/mongo/db/repl/replication_recovery.cpp @@ -225,6 +225,7 @@ void ReplicationRecoveryImpl::_applyToEndOfOplog(OperationContext* opCtx, // Apply remaining ops one at at time, but don't log them because they are already logged. UnreplicatedWritesBlock uwb(opCtx); + DisableDocumentValidation validationDisabler(opCtx); BSONObj entry; while (cursor->more()) { |