summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-10-29 17:02:55 -0400
committerMathias Stearn <mathias@10gen.com>2015-11-06 12:52:01 -0500
commit6543f0dea026b6ff9ad6f701a8f6ca62f0679613 (patch)
tree86b8ee65176bf28f33288c476b53e1f1d30b49d1 /src/mongo/db/op_observer.cpp
parentfe47eb4896be4e2a1b2df65dbcb0cb33841bd6e2 (diff)
downloadmongo-6543f0dea026b6ff9ad6f701a8f6ca62f0679613.tar.gz
SERVER-21154 Batch and parse oplog entries in parallel with applying them
This includes the start of SERVER-21155.
Diffstat (limited to 'src/mongo/db/op_observer.cpp')
-rw-r--r--src/mongo/db/op_observer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer.cpp b/src/mongo/db/op_observer.cpp
index 720d26ca9f2..6e5d6161d96 100644
--- a/src/mongo/db/op_observer.cpp
+++ b/src/mongo/db/op_observer.cpp
@@ -58,8 +58,8 @@ void OpObserver::onCreateIndex(OperationContext* txn,
void OpObserver::onInserts(OperationContext* txn,
const NamespaceString& nss,
- vector<BSONObj>::iterator begin,
- vector<BSONObj>::iterator end,
+ vector<BSONObj>::const_iterator begin,
+ vector<BSONObj>::const_iterator end,
bool fromMigrate) {
repl::logOps(txn, "i", nss, begin, end, fromMigrate);