diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-08-15 19:41:46 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-09-13 17:40:18 -0400 |
commit | c1c269079f892c2b554491997eb6d9114d890838 (patch) | |
tree | 37c721d20dcc6d65fbb7e77f8271867541006622 /src/mongo/db/op_observer_noop.h | |
parent | 5a44e562c9cb85ba253a27e513d061802ef77b57 (diff) | |
download | mongo-c1c269079f892c2b554491997eb6d9114d890838.tar.gz |
SERVER-29961 Close change notification cursors when a chunk migrates to a new shard
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r-- | src/mongo/db/op_observer_noop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h index 7b32e43f2ad..66f64fe69e3 100644 --- a/src/mongo/db/op_observer_noop.h +++ b/src/mongo/db/op_observer_noop.h @@ -61,7 +61,11 @@ public: CollectionShardingState::DeleteState deleteState, bool fromMigrate, const boost::optional<BSONObj>& deletedDoc) override; - void onOpMessage(OperationContext* opCtx, const BSONObj& msgObj) override; + void onInternalOpMessage(OperationContext* opCtx, + const NamespaceString& nss, + const boost::optional<UUID> uuid, + const BSONObj& msgObj, + const boost::optional<BSONObj> o2MsgObj) override; void onCreateCollection(OperationContext* opCtx, Collection* coll, const NamespaceString& collectionName, |