From 984bb75af92596a667b6a5ddade1359f46ef4284 Mon Sep 17 00:00:00 2001 From: Diana Parra Corbacho Date: Mon, 16 Dec 2024 15:39:39 +0100 Subject: [PATCH] Quorum queues: ignore handle_tick with an old overview format If handle_tick is called before the machine has finished the upgrade process, it could receive an old overview format (stats tuple vs map). Let's ignore it and the next handle tick should be fine. Unlikely to happen in production, detected on CI with a very low tick timeout (cherry picked from commit a97ec9278506515c89780bdab769f51941c16746) --- deps/rabbit/src/rabbit_quorum_queue.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/rabbit/src/rabbit_quorum_queue.erl b/deps/rabbit/src/rabbit_quorum_queue.erl index c59c8d8be09c..80263ddfb9fc 100644 --- a/deps/rabbit/src/rabbit_quorum_queue.erl +++ b/deps/rabbit/src/rabbit_quorum_queue.erl @@ -655,7 +655,10 @@ handle_tick(QName, [rabbit_misc:rs(QName), Err]), ok end - end). + end); +handle_tick(QName, Config, _Nodes) -> + rabbit_log:debug("~ts: handle tick received unexpected config format ~tp", + [rabbit_misc:rs(QName), Config]). repair_leader_record(Q, Self) -> Node = node(),