diff options
Diffstat (limited to 'src/mongo/db/change_stream_serverless_helpers.h')
-rw-r--r-- | src/mongo/db/change_stream_serverless_helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/change_stream_serverless_helpers.h b/src/mongo/db/change_stream_serverless_helpers.h index bdeb04f3ff7..f3f63cc97f8 100644 --- a/src/mongo/db/change_stream_serverless_helpers.h +++ b/src/mongo/db/change_stream_serverless_helpers.h @@ -51,6 +51,12 @@ bool isChangeCollectionsModeActive(); bool isChangeStreamEnabled(OperationContext* opCtx, const TenantId& tenantId); /** + * Returns true if services related to the serverless change stream can be initialized. + * TODO SERVER-69960 Remove this function and use 'isChangeCollectionsModeActive' instead. + */ +bool canInitializeServices(); + +/** * Returns an internal tenant id that will be used for testing purposes. This tenant id will not * conflict with any other tenant id. */ |