diff options
author | Romans Kasperovics <romans.kasperovics@mongodb.com> | 2023-05-16 08:26:12 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-16 09:20:40 +0000 |
commit | e9aea79d1d71e55fc40b43ba7d5894df8ab971c5 (patch) | |
tree | 383c167c7442557aff400f56eb57e2a4f7f97dd7 /src/mongo/db/change_stream_pre_image_util.cpp | |
parent | 31572586adb8aac04d930ca56887ca742bd2c048 (diff) | |
download | mongo-e9aea79d1d71e55fc40b43ba7d5894df8ab971c5.tar.gz |
SERVER-76903 Run multi-tenant change stream suites only on all-feature-flags variants
Additionally:
- remove the invariant that might be triggered by changing the FCV in tests
- remove serverless change stream feature flag dependency from change stream option validation
- remove serverless change stream feature flag dependency from run_aggregate.cpp
Diffstat (limited to 'src/mongo/db/change_stream_pre_image_util.cpp')
-rw-r--r-- | src/mongo/db/change_stream_pre_image_util.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/change_stream_pre_image_util.cpp b/src/mongo/db/change_stream_pre_image_util.cpp index 56291553149..c66f32d8a96 100644 --- a/src/mongo/db/change_stream_pre_image_util.cpp +++ b/src/mongo/db/change_stream_pre_image_util.cpp @@ -57,11 +57,7 @@ boost::optional<std::int64_t> getExpireAfterSecondsFromChangeStreamOptions( boost::optional<Date_t> getPreImageExpirationTime(OperationContext* opCtx, Date_t currentTime) { // Non-serverless and serverless environments expire pre-images according to different logic and - // parameters. - // - // This method retrieves the 'expireAfterSeconds' for a single-tenant environment. Prohibit - // callers from using this in a serverless setting. - invariant(!change_stream_serverless_helpers::isChangeCollectionsModeActive()); + // parameters. This method retrieves the 'expireAfterSeconds' for a single-tenant environment. boost::optional<std::int64_t> expireAfterSeconds = boost::none; // Get the expiration time directly from the change stream manager. |