[SERVER-76903] Make pre-images removal robust to featureFlagServerlessChangeStreams changes at runtime Created: 06/May/23  Updated: 29/Oct/23  Resolved: 16/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc2

Type: Bug Priority: Major - P3
Reporter: Romans Kasperovics Assignee: Romans Kasperovics
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-57866 Enable Feature flag for PM-2334 Backlog
is related to SERVER-64947 Remove Feature Flag for PM-2334 Open
is related to SERVER-69960 Refactor isChangeCollectionsModeActive Open
is related to SERVER-69212 Allow multiple feature-flag checks wi... Open
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: QE 2023-05-15, QE 2023-05-29
Participants:
Linked BF Score: 31

 Description   

The value of featureFlagServerlessChangeStreams changes at runtime as a result of setFeatureCompatibilityVersion command. This happens at every addShard() call. As of now, change_stream_serverless_helpers::isChangeCollectionsModeActive() depends on the feature flag, so we need to audit all call sites to ensure correctness and consistency despite the current value of the feature flag. Once the feature flag is removed with SERVER-64947 the function can be refactored with SERVER-69960.



 Comments   
Comment by Githook User [ 23/May/23 ]

Author:

{'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}

Message: SERVER-76903 Run multi-tenant change stream suites only on all-feature-flags variants

Additionally:

Comment by Githook User [ 16/May/23 ]

Author:

{'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}

Message: SERVER-76903 Run multi-tenant change stream suites only on all-feature-flags variants

Additionally:

Generated at Thu Feb 08 06:33:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.