diff options
author | Eric Milkie <milkie@10gen.com> | 2014-06-13 13:31:25 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-06-13 16:10:41 -0400 |
commit | 3de51b256b34e5ccfcc3f6f2c8c0a11627b68dcc (patch) | |
tree | 5736e7a34d9d2f47cc669611f973cbdd76cbc165 /src/mongo/db/repl/oplog.h | |
parent | 5fb08ac952f9bef0ff783ac7d3eee96f962ce261 (diff) | |
download | mongo-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.h | 3 |
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. |