diff options
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r-- | src/mongo/db/repl/oplog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h index 613c02edbcf..b022aa0e545 100644 --- a/src/mongo/db/repl/oplog.h +++ b/src/mongo/db/repl/oplog.h @@ -74,7 +74,7 @@ void createOplog(OperationContext* txn); // used internally by replication secondaries after they have applied ops. Updates the global // optime. // Returns the optime for the last op inserted. -OpTime writeOpsToOplog(OperationContext* txn, const std::deque<BSONObj>& ops); +OpTime writeOpsToOplog(OperationContext* txn, const std::vector<BSONObj>& ops); extern std::string rsOplogName; extern std::string masterSlaveOplogName; @@ -95,8 +95,8 @@ extern int OPLOG_VERSION; void logOps(OperationContext* txn, const char* opstr, const NamespaceString& nss, - std::vector<BSONObj>::iterator begin, - std::vector<BSONObj>::iterator end, + std::vector<BSONObj>::const_iterator begin, + std::vector<BSONObj>::const_iterator end, bool fromMigrate); /* For 'u' records, 'obj' captures the mutation made to the object but not |