[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: |
|
||||||||||||||||||||||||||||
| 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: Additionally:
|
| Comment by Githook User [ 16/May/23 ] |
|
Author: {'name': 'Romans Kasperovics', 'email': 'romans.kasperovics@mongodb.com', 'username': 'romanskas'}Message: Additionally:
|