diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2016-01-05 10:29:01 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@tart.local> | 2016-02-24 09:55:46 -0500 |
commit | 7bc59dac4f46e8f59786130262fb1dfea68fb605 (patch) | |
tree | 0ad5c45f99655a7cc60abc6162993ec1eab0070d /src/mongo/db/repl/rs_rollback.cpp | |
parent | b5a76e83860d0cff964af4989d798f19ffce4aae (diff) | |
download | mongo-7bc59dac4f46e8f59786130262fb1dfea68fb605.tar.gz |
SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to secondary as well as primary
(cherry picked from commit 2c2e6a38f559f25559c2b24eff51511c6fbc4a5b)
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.cpp')
-rw-r--r-- | src/mongo/db/repl/rs_rollback.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/rs_rollback.cpp b/src/mongo/db/repl/rs_rollback.cpp index a9073f49524..076507b4106 100644 --- a/src/mongo/db/repl/rs_rollback.cpp +++ b/src/mongo/db/repl/rs_rollback.cpp @@ -791,9 +791,9 @@ void syncFixUp(OperationContext* txn, warn = true; } - // Reload the lastOpTimeApplied value in the replcoord and the lastAppliedHash value in - // bgsync to reflect our new last op. - replCoord->resetLastOpTimeFromOplog(txn); + // Reload the lastAppliedOpTime and lastDurableOpTime value in the replcoord and the + // lastAppliedHash value in bgsync to reflect our new last op. + replCoord->resetLastOpTimesFromOplog(txn); // done if (warn) |