diff options
author | Randolph Tan <randolph@10gen.com> | 2017-07-03 17:49:48 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-07-12 13:20:42 -0400 |
commit | 1550eb477fcf883e861f63ffc988a6060a2fbfb1 (patch) | |
tree | 2ae92c69ae385f2788ec7ab2fad3aa77e7495ee9 /src/mongo/db/repl/storage_interface.h | |
parent | 1d6008b049e65615b13404f0b877034cfa980220 (diff) | |
download | mongo-1550eb477fcf883e861f63ffc988a6060a2fbfb1.tar.gz |
SERVER-28912 Thread statement id from batched insert command oplog entry
Diffstat (limited to 'src/mongo/db/repl/storage_interface.h')
-rw-r--r-- | src/mongo/db/repl/storage_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/storage_interface.h b/src/mongo/db/repl/storage_interface.h index ccc5d03001f..ce3059e9e81 100644 --- a/src/mongo/db/repl/storage_interface.h +++ b/src/mongo/db/repl/storage_interface.h @@ -36,6 +36,7 @@ #include "mongo/base/disallow_copying.h" #include "mongo/base/string_data.h" +#include "mongo/db/catalog/collection.h" #include "mongo/db/namespace_string.h" #include "mongo/db/query/index_bounds.h" #include "mongo/db/repl/collection_bulk_loader.h" @@ -112,7 +113,7 @@ public: */ virtual Status insertDocuments(OperationContext* opCtx, const NamespaceString& nss, - const std::vector<BSONObj>& docs) = 0; + const std::vector<InsertStatement>& docs) = 0; /** * Creates the initial oplog, errors if it exists. |