Skip to content

fix: update membership when reverting cluster change#609

Merged
kjnilsson merged 1 commit intorabbitmq:mainfrom
specula-org:fix/pre-append-membership-update
Mar 26, 2026
Merged

fix: update membership when reverting cluster change#609
kjnilsson merged 1 commit intorabbitmq:mainfrom
specula-org:fix/pre-append-membership-update

Conversation

@Qian-Cheng-nju
Copy link
Copy Markdown
Contributor

Hi — last one from me for now!

In pre_append_log_follower, when a new leader overwrites a previously uncommitted cluster change entry, the first clause (the overwrite/revert path) updates cluster back to previous_cluster but doesn't update membership to match. The normal cluster change path in the second clause does call the membership update, so this is just a missing step in the revert path.

The impact is small since membership gets corrected at apply time, but it keeps the two paths consistent.

Thanks for being so responsive with the reviews on all of these — really appreciate it!

@lukebakken lukebakken requested a review from kjnilsson March 26, 2026 13:41
@kjnilsson kjnilsson merged commit 56db4a0 into rabbitmq:main Mar 26, 2026
7 checks passed
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.

2 participants