diff options
author | Mathias Stearn <mathias@10gen.com> | 2015-10-29 17:02:55 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2015-11-04 13:53:03 -0500 |
commit | 2f70889bbfd4dea77cd26cec2dde28193b06905d (patch) | |
tree | 5737c404648c4aa55522d63bd2b686961b5bb4d2 /src/mongo/db/op_observer.h | |
parent | f79d18871869e1ae1591506c27c9e56b86bc7706 (diff) | |
download | mongo-2f70889bbfd4dea77cd26cec2dde28193b06905d.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.h')
-rw-r--r-- | src/mongo/db/op_observer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h index 2ef3a191f0a..36dafda30c6 100644 --- a/src/mongo/db/op_observer.h +++ b/src/mongo/db/op_observer.h @@ -57,8 +57,8 @@ public: bool fromMigrate = false); void onInserts(OperationContext* txn, const NamespaceString& ns, - std::vector<BSONObj>::iterator begin, - std::vector<BSONObj>::iterator end, + std::vector<BSONObj>::const_iterator begin, + std::vector<BSONObj>::const_iterator end, bool fromMigrate = false); void onUpdate(OperationContext* txn, oplogUpdateEntryArgs args); void onDelete(OperationContext* txn, |