summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-11-04 18:45:16 -0500
committerMathias Stearn <mathias@10gen.com>2015-11-04 18:45:16 -0500
commitd70512ab5f655868b409bcbf92d1e68af80e68d8 (patch)
tree8a0463264acf349dbbd8eb3e5ca1246a8b50378a /src/mongo/db/op_observer.cpp
parented6c7908a51b92311efad30df78a390fa96e990f (diff)
downloadmongo-d70512ab5f655868b409bcbf92d1e68af80e68d8.tar.gz
Revert "SERVER-21154 Batch and parse oplog entries in parallel with applying them"
This reverts commit 2f70889bbfd4dea77cd26cec2dde28193b06905d.
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 6e5d6161d96..720d26ca9f2 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>::const_iterator begin,
- vector<BSONObj>::const_iterator end,
+ vector<BSONObj>::iterator begin,
+ vector<BSONObj>::iterator end,
bool fromMigrate) {
repl::logOps(txn, "i", nss, begin, end, fromMigrate);