Skip to content

Conversation

@dumbbell
Copy link
Collaborator

Why

The copy is likely to install a different list of enabled feature flags compared to the possibly loaded registry. Therefore it needs to be reset.

How

This is already the case, but the reset is done from the clustering code and not right after the copy, leaving a time frame where the feature states are inconsistent between the loaded registry and the on-disk record.

This should be the responsibility of the Feature flags subsystem anyway.

[Why]
The copy is likely to install a different list of enabled feature flags
compared to the possibly loaded registry. Therefore it needs to be
reset.

[How]
This is already the case, but the reset is done from the clustering
code and not right after the copy, leaving a time frame where the
feature states are inconsistent between the loaded registry and the
on-disk record.

This should be the responsibility of the Feature flags subsystem anyway.
@dumbbell dumbbell self-assigned this Nov 12, 2025
@dumbbell dumbbell marked this pull request as ready for review November 12, 2025 13:56
@dumbbell dumbbell merged commit 7540b4b into main Nov 12, 2025
575 of 577 checks passed
@dumbbell dumbbell deleted the reset-feature-flags-registry-after-copy branch November 12, 2025 13:56
michaelklishin added a commit that referenced this pull request Nov 12, 2025
rabbit_feature_flags: Reset registry after copying feature states (backport #14942)
@michaelklishin michaelklishin added this to the 4.3.0 milestone Nov 12, 2025
michaelklishin added a commit that referenced this pull request Nov 12, 2025
rabbit_feature_flags: Reset registry after copying feature states (backport #14942) (backport #14943)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants