diff options
author | Eric Milkie <milkie@10gen.com> | 2014-09-15 16:28:04 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-09-19 11:50:30 -0400 |
commit | 3900c740dc53c3de9fbb5a7168378f5b58699265 (patch) | |
tree | a7b597717c516631f5024dbb052ea3fdc7373d85 /src/mongo/db/repl/sync_tail.h | |
parent | 96f8616e7c078040af55a58859e5a1d563b42120 (diff) | |
download | mongo-3900c740dc53c3de9fbb5a7168378f5b58699265.tar.gz |
SERVER-15089 convert non-legacy usage of lastOpTimeWritten to replCoord's lastOpTimeApplied
Diffstat (limited to 'src/mongo/db/repl/sync_tail.h')
-rw-r--r-- | src/mongo/db/repl/sync_tail.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_tail.h b/src/mongo/db/repl/sync_tail.h index 2105c88ff26..7d090725f56 100644 --- a/src/mongo/db/repl/sync_tail.h +++ b/src/mongo/db/repl/sync_tail.h @@ -93,7 +93,8 @@ namespace repl { // to update local oplog.rs, as well as notify the primary // that we have applied the ops. // Ops are removed from the deque. - void applyOpsToOplog(std::deque<BSONObj>* ops); + // Returns the optime of the last op applied. + OpTime applyOpsToOplog(std::deque<BSONObj>* ops); protected: // Cap the batches using the limit on journal commits. |