Skip to content

Restore robust consumers after broker cancellation - #723

Merged
mosquito merged 1 commit into
masterfrom
fix/broker-consumer-cancel
Oct 10, 2026
Merged

mosquito merged 1 commit into
masterfrom
fix/broker-consumer-cancel

Conversation

@mosquito

Copy link
Copy Markdown
Owner

Restore robust consumers after the broker sends basic.cancel while the connection and channel remain open. A single recovery loop per connection retries queue declaration and bindings on a temporary channel before registering cancelled consumers on the original channel.

Normal queues are recreated when missing; passive queues wait until they exist again. Explicit cancellation, deletion through the owning channel, and channel or connection closure stop recovery.

Fixes #722

@mosquito
mosquito force-pushed the fix/broker-consumer-cancel branch from e43d110 to 9895dc9 Compare October 10, 2026 10:04
@coveralls

coveralls commented Oct 10, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 92.713% (+0.2%) from 92.562% — fix/broker-consumer-cancel into master

Retry queue recovery on a temporary channel before registering cancelled consumers on the original channel.

Fixes #722
@mosquito
mosquito force-pushed the fix/broker-consumer-cancel branch from 9895dc9 to 7e5adfb Compare October 10, 2026 10:18
@mosquito
mosquito merged commit 39cc074 into master Oct 10, 2026
8 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