rabbitmq / rabbitmq-cli

Command line tools for RabbitMQ
Other
105 stars 34 forks source link

rabbitmqctl list_unresponsive_queues errors with quorum queues #386

Closed arch273 closed 5 years ago

arch273 commented 5 years ago

RabbitMQ: 3.8.0, 3.8.1-beta.1 Erlang: 22.1.4 Also tested with the docker image rabbitmq:3.8.1-beta.1-management

rabbitmqctl list_unresponsive_queues

Listing unresponsive queues for vhost / ... 
{:badrpc, {:EXIT, {:function_clause, [{:delegate, :invoke, [{:"%2F_test_quorum", :rabbit@c34ec0034706}, 'delegate_', {:gen_server2, :call, [{:info, 
[:name]}, 15000]}], [file: 'src/delegate.erl', line: 96]}, {:rabbit_amqqueue, :is_unresponsive, 2, [file: 'src/rabbit_amqqueue.erl', line: 1061]}, {
:rabbit_amqqueue, :"-emit_unresponsive_local/5-fun-0-", 3, [file: 'src/rabbit_amqqueue.erl', line: 1145]}, {:rabbit_misc, :with_exit_handler, 2, [fi
le: 'src/rabbit_misc.erl', line: 482]}, {:rabbit_control_misc, :step_with_exit_handler, 4, [file: 'src/rabbit_control_misc.erl', line: 67]}, {:rabbi
t_control_misc, :"-emitting_map0/5-lc$^0/1-0-", 5, [file: 'src/rabbit_control_misc.erl', line: 59]}, {:rabbit_control_misc, :emitting_map_with_exit_
handler, 5, [file: 'src/rabbit_control_misc.erl', line: 55]}, {:rabbit_control_misc, :emitting_map_with_exit_handler, 4, [file: 'src/rabbit_control_
misc.erl', line: 50]}]}}}

Server log:

Leader: {'%2F_test_quorum',rabbit@c34ec0034706}
2019-10-23 00:16:56.392 [error] emulator Error in process <0.932.0> on node rabbit@c34ec0034706 with exit value: 
{function_clause,[{delegate,invoke,[{'%2F_test_quorum',rabbit@c34ec0034706},"delegate_",{gen_server2,call,[{info,[name]},15000]}],[{file,"src/delega
te.erl"},{line,96}]},{rabbit_amqqueue,is_unresponsive,2,[{file,"src/rabbit_amqqueue.erl"},{line,1061}]},{rabbit_amqqueue,'-emit_unresponsive_local/5
-fun-0-',3,[{file,"src/rabbit_amqqueue.erl"},{line,1145}]},{rabbit_misc,with_exit_handler,2,[{file,"src/rabbit_misc.erl"},{line,482}]},{rabbit_contr
ol_misc,step_with_exit_handler,4,[{file,"src/rabbit_control_misc.erl"},{line,67}]},{rabbit_control_misc,'-emitting_map0/5-lc$^0/1-0-',5,[{file,"src/
rabbit_control_misc.erl"},{line,59}]},{rabbit_control_misc,emitting_map_with_exit_handler,5,[{file,"src/rabbit_control_misc.erl"},{line,55}]},{rabbi
t_control_misc,emitting_map_with_exit_handler,4,[{file,"src/rabbit_control_misc.erl"},{line,50}]}]}