Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Nov 12, 2025

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.


This is an automatic backport of pull request #14942 done by Mergify.

[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.

(cherry picked from commit 932a971)
@michaelklishin michaelklishin added this to the 4.2.1 milestone Nov 12, 2025
@michaelklishin michaelklishin merged commit 7e43377 into v4.2.x Nov 12, 2025
576 of 577 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-14942 branch November 12, 2025 15:44
@michaelklishin
Copy link
Collaborator

@Mergifyio backport v4.1.x

@mergify
Copy link
Author

mergify bot commented Nov 12, 2025

backport v4.1.x

✅ Backports have been created

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants