diff options
author | William Schultz <william.schultz@mongodb.com> | 2017-08-07 14:58:46 -0400 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2017-08-07 14:59:18 -0400 |
commit | 91d9640442f492324dc104ed6a4a345f90e70431 (patch) | |
tree | dc2f1af07781670d697b24c585b52f2697a0a762 /src/mongo/db/repl/bgsync.cpp | |
parent | ae59589e2360138fcd5d4e8ce30b204315b83652 (diff) | |
download | mongo-91d9640442f492324dc104ed6a4a345f90e70431.tar.gz |
SERVER-29896 Write the common point to the oplogTruncateAfterPoint during rollback
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r-- | src/mongo/db/repl/bgsync.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index 8f16d80b12c..da1655c99d2 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -730,7 +730,8 @@ void BackgroundSync::_runRollbackViaRecoverToCheckpoint( } } - _rollback = stdx::make_unique<RollbackImpl>(localOplog, &remoteOplog, _replCoord); + _rollback = + stdx::make_unique<RollbackImpl>(localOplog, &remoteOplog, _replicationProcess, _replCoord); log() << "Scheduling rollback (sync source: " << source << ")"; auto status = _rollback->runRollback(opCtx); |