Federation supervisor crash during upgrade to 4.2.x on multi-node cluster #15239
-
Community Support Policy
RabbitMQ version used4.2.x How is RabbitMQ deployed?Debian package Steps to reproduce the behavior in question
Supervisor full crash logThis is because Maybe adding a compatibility modified deps/rabbitmq_federation_common/src/rabbit_federation_link_sup.erl
@@ -17,6 +17,13 @@
-export([start_link/2, adjust/4, restart/2]).
-export([init/1]).
+-export([start_link/1]).
+
+%% For backwards compatibility
+start_link(X = #exchange{}) ->
+ start_link(rabbit_federation_exchange_link, X);
+start_link(Q) when ?is_amqqueue(Q) ->
+ start_link(rabbit_federation_queue_link, Q).
start_link(LinkMod, Q) ->
supervisor2:start_link(?MODULE, [LinkMod, Q]). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
@gomoripeti the proposed change looks acceptable to me. If we want to include it, we must do it early next week because |
Beta Was this translation helpful? Give feedback.
I am working on the test case in #15252, but if I'm not able to fix it by tomorrow I will remove the test commit