diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_change_stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream.h b/src/mongo/db/pipeline/document_source_change_stream.h index ab7489222c6..1ecdde1d5b6 100644 --- a/src/mongo/db/pipeline/document_source_change_stream.h +++ b/src/mongo/db/pipeline/document_source_change_stream.h @@ -230,8 +230,9 @@ public: // The internal change events that are not exposed to the users. 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; + static constexpr StringData kNewShardDetectedOpType = "migrateChunkToNewShard"_sd; // These events are guarded behind the 'showExpandedEvents' flag. static constexpr StringData kCreateOpType = "create"_sd; |