diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-10-24 12:04:42 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-10-28 19:07:00 -0400 |
commit | e923952dd2c492ab19c34bfe094da6b855d0f99d (patch) | |
tree | ac1fdf64ee83055c63de3f62f3720a4dffcfea92 /src/mongo/db/op_observer.h | |
parent | 8ac6f69b0879df0e69b8d9929badb472772a3bca (diff) | |
download | mongo-e923952dd2c492ab19c34bfe094da6b855d0f99d.tar.gz |
SERVER-26515 Create collection with v=2 index should include full index spec in oplog
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h index b5a2d926489..e9c6f7d7425 100644 --- a/src/mongo/db/op_observer.h +++ b/src/mongo/db/op_observer.h @@ -95,7 +95,8 @@ public: void onOpMessage(OperationContext* txn, const BSONObj& msgObj); void onCreateCollection(OperationContext* txn, const NamespaceString& collectionName, - const CollectionOptions& options); + const CollectionOptions& options, + const BSONObj& idIndex); void onCollMod(OperationContext* txn, const std::string& dbName, const BSONObj& collModCmd); void onDropDatabase(OperationContext* txn, const std::string& dbName); void onDropCollection(OperationContext* txn, const NamespaceString& collectionName); |