summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-06-13 13:31:25 -0400
committerEric Milkie <milkie@10gen.com>2014-06-13 16:10:41 -0400
commit3de51b256b34e5ccfcc3f6f2c8c0a11627b68dcc (patch)
tree5736e7a34d9d2f47cc669611f973cbdd76cbc165 /src/mongo/db/repl/oplog.h
parent5fb08ac952f9bef0ff783ac7d3eee96f962ce261 (diff)
downloadmongo-3de51b256b34e5ccfcc3f6f2c8c0a11627b68dcc.tar.gz
SERVER-14250 minor cleanup rs_config
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r--src/mongo/db/repl/oplog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h
index 20536de9e08..3aa0eb0ba52 100644
--- a/src/mongo/db/repl/oplog.h
+++ b/src/mongo/db/repl/oplog.h
@@ -85,6 +85,9 @@ namespace repl {
{ msg : "text", ... }
*/
void logOpComment(OperationContext* txn, const BSONObj& obj);
+
+ // Same as logOpComment, except only works for replsets
+ void logOpInitiate(OperationContext* txn, const BSONObj& obj);
// Flush out the cached pointers to the local database and oplog.
// Used by the closeDatabase command to ensure we don't cache closed things.