diff options
Diffstat (limited to 'src/mongo/db/repl/change_stream_oplog_notification.h')
-rw-r--r-- | src/mongo/db/repl/change_stream_oplog_notification.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/repl/change_stream_oplog_notification.h b/src/mongo/db/repl/change_stream_oplog_notification.h index ee746b96167..c999eadc2a8 100644 --- a/src/mongo/db/repl/change_stream_oplog_notification.h +++ b/src/mongo/db/repl/change_stream_oplog_notification.h @@ -30,8 +30,10 @@ #pragma once #include "mongo/bson/bsonobj.h" +#include "mongo/client/connection_string.h" #include "mongo/db/namespace_string.h" #include "mongo/db/operation_context.h" +#include "mongo/db/shard_id.h" #include "mongo/util/uuid.h" namespace mongo { @@ -44,4 +46,9 @@ void notifyChangeStreamsOnShardCollection(OperationContext* opCtx, const NamespaceString& nss, const UUID& uuid, BSONObj cmd); + +void notifyChangeStreamsOnAddShard(OperationContext* opCtx, + const ShardId& shardName, + const ConnectionString& connStr); + } // namespace mongo |