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.
- is related to
-
SERVER-64947 Remove Feature Flag for PM-2334
- Open
-
SERVER-69960 Refactor isChangeCollectionsModeActive
- Open
-
SERVER-69212 Allow multiple feature-flag checks within a single operation
- Open
- related to
-
SERVER-57866 Enable Feature flag for PM-2334
- Closed