Skip to content

Commit 24b0677

Browse files
Merge pull request #10473 from rabbitmq/mergify/bp/v3.12.x/pr-10471
rabbitmq_federation: Handle `shutdown` from upstream (backport #10471)
2 parents 828288f + 36cf8c9 commit 24b0677

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/rabbitmq_federation/src/rabbit_federation_link_util.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ handle_downstream_down(Reason, _Args, State) ->
262262

263263
%% If the upstream channel goes down for an intelligible reason, just
264264
%% log it and die quietly.
265+
handle_upstream_down(shutdown, {Upstream, UParams, XName}, State) ->
266+
rabbit_federation_link_util:connection_error(
267+
remote, {upstream_channel_down, shutdown}, Upstream, UParams, XName, State);
265268
handle_upstream_down({shutdown, Reason}, {Upstream, UParams, XName}, State) ->
266269
rabbit_federation_link_util:connection_error(
267270
remote, {upstream_channel_down, Reason}, Upstream, UParams, XName, State);

0 commit comments

Comments
 (0)