Skip to content

3.12.0 QQs: correct a typo in the name of an undocumented 3.12-specific metric #8375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions deps/rabbit/src/rabbit_quorum_queue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
members,
open_files,
single_active_consumer_pid,
single_active_consumer_ctag,
single_active_consumer_tag,
messages_ram,
message_bytes_ram,
messages_dlx,
Expand Down Expand Up @@ -456,7 +456,7 @@ handle_tick(QName,
messages_dlx,
message_bytes_dlx,
single_active_consumer_pid,
single_active_consumer_ctag
single_active_consumer_tag
],
{SacTag, SacPid} = maps:get(single_active_consumer_id,
Overview, {'', ''}),
Expand All @@ -472,7 +472,7 @@ handle_tick(QName,
{messages_persistent, NumMessages},
{messages_dlx, NumDiscarded + NumDiscardedCheckedOut},
{message_bytes_dlx, MsgBytesDiscarded},
{single_active_consumer_ctag, SacTag},
{single_active_consumer_tag, SacTag},
{single_active_consumer_pid, SacPid}
| infos(QName, Keys)],
rabbit_core_metrics:queue_stats(QName, Infos),
Expand Down Expand Up @@ -1461,7 +1461,7 @@ i(single_active_consumer_pid, Q) when ?is_amqqueue(Q) ->
{timeout, _} ->
''
end;
i(single_active_consumer_ctag, Q) when ?is_amqqueue(Q) ->
i(single_active_consumer_tag, Q) when ?is_amqqueue(Q) ->
QPid = amqqueue:get_pid(Q),
case ra:local_query(QPid,
fun rabbit_fifo:query_single_active_consumer/1) of
Expand Down