summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2017-08-15 19:41:46 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2017-09-13 17:40:18 -0400
commitc1c269079f892c2b554491997eb6d9114d890838 (patch)
tree37c721d20dcc6d65fbb7e77f8271867541006622 /src/mongo/db/op_observer_noop.h
parent5a44e562c9cb85ba253a27e513d061802ef77b57 (diff)
downloadmongo-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.h6
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,