Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Apr 28, 2025

  1. amqp_channel would crash with function_clause when rabbit_channel sent flush message to its writer
  2. direct connection logged a crash error just because the amqp_channel exited
  3. Tests would sometimes flake because they expect exactly 0 messages in the mailbox for all processes, but it's a live runtime, something could be there
    This is an automatic backport of pull request Shovel test flakes and logging fixes #13820 done by Mergify.

checking that not a single process has a message in the mailbox
is prone to flakes.

(cherry picked from commit 0ec41c6)
rabbit_channel may use amqp_channel as the writer.
When terminating, rabbit_channel sends a `flush` message
to its writer. If amqp_channel is in use, that led to
a `function_clause` crash.

(cherry picked from commit 0ce6ad0)
@michaelklishin michaelklishin added this to the 4.1.1 milestone Apr 28, 2025
@michaelklishin michaelklishin merged commit 8bc760e into v4.1.x Apr 28, 2025
266 of 271 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13820 branch April 28, 2025 16:07
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