summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-09-15 16:28:04 -0400
committerEric Milkie <milkie@10gen.com>2014-09-19 11:50:30 -0400
commit3900c740dc53c3de9fbb5a7168378f5b58699265 (patch)
treea7b597717c516631f5024dbb052ea3fdc7373d85 /src/mongo/db/repl/sync_tail.h
parent96f8616e7c078040af55a58859e5a1d563b42120 (diff)
downloadmongo-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.h3
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.