diff options
author | Blake Oler <blake.oler@mongodb.com> | 2019-02-19 15:38:19 -0500 |
---|---|---|
committer | Blake Oler <blake.oler@mongodb.com> | 2019-02-21 16:00:52 -0500 |
commit | 42999ae47bacedf260be2d6dd5e377ff0ae63744 (patch) | |
tree | 9d766bedc58e689c7baa2ade9b5b52fc29d47e2d /src/mongo/db/s/op_observer_sharding_impl.h | |
parent | 9cf0e378392c2c45131602e45b9ee9c2dc6c28bd (diff) | |
download | mongo-42999ae47bacedf260be2d6dd5e377ff0ae63744.tar.gz |
SERVER-39021 Switch migrations to observe multi-statement transaction CRUD statements onCommit instead of onCRUD
Diffstat (limited to 'src/mongo/db/s/op_observer_sharding_impl.h')
-rw-r--r-- | src/mongo/db/s/op_observer_sharding_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/op_observer_sharding_impl.h b/src/mongo/db/s/op_observer_sharding_impl.h index b521d242fb3..470bd21f3b9 100644 --- a/src/mongo/db/s/op_observer_sharding_impl.h +++ b/src/mongo/db/s/op_observer_sharding_impl.h @@ -64,6 +64,10 @@ protected: const repl::OpTime& opTime, const repl::OpTime& preImageOpTime, const bool inMultiDocumentTransaction) override; + void shardObserveTransactionCommit(OperationContext* opCtx, + const std::vector<repl::ReplOperation>& stmts, + const repl::OpTime& opTime, + const bool fromPreparedTransactionCommit) override; }; } // namespace mongo |