From 90ad147363889be0f01c4668dda6323cb7ab8eb2 Mon Sep 17 00:00:00 2001 From: Matt Walak Date: Wed, 14 Jul 2021 17:20:14 +0000 Subject: SERVER-50637 Expose reshardDoneCatchUp no-op oplog entry as change event --- src/mongo/db/pipeline/document_source_change_stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo/db/pipeline/document_source_change_stream.h') diff --git a/src/mongo/db/pipeline/document_source_change_stream.h b/src/mongo/db/pipeline/document_source_change_stream.h index 6fb083f0f9e..35247ef07ea 100644 --- a/src/mongo/db/pipeline/document_source_change_stream.h +++ b/src/mongo/db/pipeline/document_source_change_stream.h @@ -166,6 +166,7 @@ public: static constexpr StringData kDropDatabaseOpType = "dropDatabase"_sd; static constexpr StringData kInvalidateOpType = "invalidate"_sd; static constexpr StringData kReshardBeginOpType = "reshardBegin"_sd; + static constexpr StringData kReshardDoneCatchUpOpType = "reshardDoneCatchUp"_sd; // Internal op type to signal mongos to open cursors on new shards. static constexpr StringData kNewShardDetectedOpType = "kNewShardDetected"_sd; -- cgit v1.2.1