Skip to content

fix: redirect client commands during await_condition#610

Merged
kjnilsson merged 1 commit intorabbitmq:mainfrom
specula-org:fix/await-condition-redirect-client
Mar 26, 2026
Merged

fix: redirect client commands during await_condition#610
kjnilsson merged 1 commit intorabbitmq:mainfrom
specula-org:fix/await-condition-redirect-client

Conversation

@Qian-Cheng-nju
Copy link
Copy Markdown
Contributor

@Qian-Cheng-nju Qian-Cheng-nju commented Mar 26, 2026

Hi — another small one I found while reading the await_condition path.

During leadership transfer, the node enters await_condition state. If a client command or query arrives in this window (e.g. forwarded by a follower), it hits the catch-all and gets dropped silently — the client never gets a reply back.

This adds a clause to redirect those requests to the current leader so the client can retry there instead of hanging.

BTW, that's the final issue I found. Thanks a lot!

@lukebakken lukebakken requested a review from kjnilsson March 26, 2026 13:42
@kjnilsson
Copy link
Copy Markdown
Contributor

great - thanks!

@kjnilsson kjnilsson merged commit 5f2bed2 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