From d1306d8b8118cf6c420f6c34daab28ab7c7c33b2 Mon Sep 17 00:00:00 2001 From: Misha Tyulenev Date: Tue, 29 Mar 2022 17:03:22 +0000 Subject: SERVER-63838 expose createIndexes and create events from chunkMigration only when showEventsSystem is true --- src/mongo/db/s/config_server_op_observer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/s/config_server_op_observer.h') diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h index ddb36cfbd4c..f9414d4f49e 100644 --- a/src/mongo/db/s/config_server_op_observer.h +++ b/src/mongo/db/s/config_server_op_observer.h @@ -115,7 +115,8 @@ public: const NamespaceString& collectionName, const CollectionOptions& options, const BSONObj& idIndex, - const OplogSlot& createOpTime) override {} + const OplogSlot& createOpTime, + bool fromMigrate) override {} void onCollMod(OperationContext* opCtx, const NamespaceString& nss, -- cgit v1.2.1